Fix uip/whom.c for C89 compatibility
[mmh] / uip / inc.c
index c0f272e..e31c6a6 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -74,6 +74,8 @@ static struct swit switches[] = {
        { NULL, 0 },
 };
 
+char *version=VERSION;
+
 /*
 ** This is an attempt to simplify things by putting all the
 ** privilege ops into macros.
@@ -274,7 +276,7 @@ main(int argc, char **argv)
        ** NOTE: above this point you should use TRYDROPGROUPPRIVS(),
        ** not DROPGROUPPRIVS().
        */
-       /* guarantee dropping group priveleges; we might not have done so earlier */
+       /* guarantee dropping group privileges; we might not have done so earlier */
        DROPGROUPPRIVS();
 
        if (from && strcmp(from, "-")==0) {