* getfacl.c (main): Correct layout when nopt is set.

This commit is contained in:
Corinna Vinschen 2004-09-15 07:51:06 +00:00
parent a9f36d288c
commit b103e0d732
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-09-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* getfacl.c (main): Correct layout when nopt is set.
2004-07-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
* mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function

View File

@ -229,7 +229,7 @@ main (int argc, char **argv)
break;
case USER:
if (nopt)
printf ("user:%lu\n", (unsigned long)acls[i].a_id);
printf ("user:%lu:", (unsigned long)acls[i].a_id);
else
printf ("user:%s:", username (acls[i].a_id));
break;
@ -238,7 +238,7 @@ main (int argc, char **argv)
break;
case GROUP:
if (nopt)
printf ("group:%lu\n", (unsigned long)acls[i].a_id);
printf ("group:%lu:", (unsigned long)acls[i].a_id);
else
printf ("group:%s:", groupname (acls[i].a_id));
break;