From: Eric W. Biederman Date: Fri, 15 Jul 2005 00:52:31 +0000 (-0600) Subject: [PATCH] ident.c: Disambiguate the error messages in setup_ident X-Git-Tag: v0.99.1~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7a868a84143c0bad2dce3fd0337320524436da27;p=git.git [PATCH] ident.c: Disambiguate the error messages in setup_ident If your user name is too long it is your sysadmin who hates you not your parents! Signed-off-by: Eric W. Biederman [ Fixed grammar ] Signed-off-by: Linus Torvalds --- diff --git a/ident.c b/ident.c index 8da5609c..9ef636ee 100644 --- a/ident.c +++ b/ident.c @@ -26,13 +26,13 @@ int setup_ident(void) /* Get the name ("gecos") */ len = strlen(pw->pw_gecos); if (len >= sizeof(real_name)) - die("Your parents must have hated you"); + die("Your parents must have hated you!"); memcpy(real_name, pw->pw_gecos, len+1); /* Make up a fake email address (name + '@' + hostname [+ '.' + domainname]) */ len = strlen(pw->pw_name); if (len > sizeof(real_email)/2) - die("Your parents must have hated you"); + die("Your sysadmin must hate you!"); memcpy(real_email, pw->pw_name, len); real_email[len++] = '@'; gethostname(real_email + len, sizeof(real_email) - len);