=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/quota/quota.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/quota/quota.c 1996/08/07 14:08:52 1.7 +++ src/usr.bin/quota/quota.c 1996/10/28 04:08:21 1.8 @@ -1,4 +1,4 @@ -/* $OpenBSD: quota.c,v 1.7 1996/08/07 14:08:52 etheisen Exp $ */ +/* $OpenBSD: quota.c,v 1.8 1996/10/28 04:08:21 millert Exp $ */ /* * Copyright (c) 1980, 1990, 1993 @@ -44,7 +44,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)quota.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: quota.c,v 1.7 1996/08/07 14:08:52 etheisen Exp $"; +static char rcsid[] = "$OpenBSD: quota.c,v 1.8 1996/10/28 04:08:21 millert Exp $"; #endif /* not lint */ /* @@ -207,10 +207,10 @@ myuid = getuid(); if (pwd->pw_uid != myuid && myuid != 0) { fprintf(stderr, "quota: %s (uid %d): permission denied\n", - name, pwd->pw_uid); + pwd->pw_name, pwd->pw_uid); return; } - showquotas(USRQUOTA, pwd->pw_uid, name); + showquotas(USRQUOTA, pwd->pw_uid, pwd->pw_name); } /* @@ -277,11 +277,11 @@ if (i >= ngroups && getuid() != 0) { fprintf(stderr, "quota: %s (gid %d): permission denied\n", - name, grp->gr_gid); + grp->gr_name, grp->gr_gid); return; } } - showquotas(GRPQUOTA, grp->gr_gid, name); + showquotas(GRPQUOTA, grp->gr_gid, grp->gr_name); } showquotas(type, id, name)