* 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>
|
2004-07-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
|
||||||
|
|
||||||
* mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
|
* mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
|
||||||
|
@ -229,7 +229,7 @@ main (int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
case USER:
|
case USER:
|
||||||
if (nopt)
|
if (nopt)
|
||||||
printf ("user:%lu\n", (unsigned long)acls[i].a_id);
|
printf ("user:%lu:", (unsigned long)acls[i].a_id);
|
||||||
else
|
else
|
||||||
printf ("user:%s:", username (acls[i].a_id));
|
printf ("user:%s:", username (acls[i].a_id));
|
||||||
break;
|
break;
|
||||||
@ -238,7 +238,7 @@ main (int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
case GROUP:
|
case GROUP:
|
||||||
if (nopt)
|
if (nopt)
|
||||||
printf ("group:%lu\n", (unsigned long)acls[i].a_id);
|
printf ("group:%lu:", (unsigned long)acls[i].a_id);
|
||||||
else
|
else
|
||||||
printf ("group:%s:", groupname (acls[i].a_id));
|
printf ("group:%s:", groupname (acls[i].a_id));
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user