mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 03:27:46 +08:00
* getfacl.c (main): Correct layout when nopt is set.
This commit is contained in:
parent
a9f36d288c
commit
b103e0d732
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user