]> andersk Git - moira.git/commitdiff
From mbarker: Remove the `char *whoami;' local to main so that it's
authordanw <danw>
Sun, 28 Sep 1997 17:02:42 +0000 (17:02 +0000)
committerdanw <danw>
Sun, 28 Sep 1997 17:02:42 +0000 (17:02 +0000)
setting the global whoami. Otherwise it will be uninitialized and the
program will dump core if it tries to print an error message.

clients/passwd/chfn.c
clients/passwd/chsh.c

index ad676308f1edea147a529fe5b414f31b0e849558..e48df5925ae2192c73e85bcf6052e126106327f9 100644 (file)
@@ -59,7 +59,6 @@ main(argc, argv)
     char pname[ANAME_SZ];
     char *uname = pname;
     int k_errno;
-    char *whoami;
 
     initialize_krb_error_table();
 
index 0519b868b064aa0a76f726a6b16e550b785b5c1a..75d4d2d2bac485b7922ba6ed290daf26db40ec9d 100644 (file)
@@ -51,7 +51,6 @@ main(argc, argv)
     char pname[ANAME_SZ];
     char *uname = pname;
     int k_errno;
-    char *whoami;
 
     initialize_krb_error_table();
 
This page took 0.042331 seconds and 5 git commands to generate.