diff options
author | basabi <none@none> | 2005-10-04 07:57:28 -0700 |
---|---|---|
committer | basabi <none@none> | 2005-10-04 07:57:28 -0700 |
commit | bdcaf82257ab2deb6b46efaaa4bc93a1a44b3885 (patch) | |
tree | 986eb7bae8ea4650099422631246d14c9f9e8a4a /usr/src/cmd/setfacl/setfacl.c | |
parent | 3461bce34c4973cea9064c326d543387a31c152b (diff) | |
download | illumos-joyent-bdcaf82257ab2deb6b46efaaa4bc93a1a44b3885.tar.gz |
6271033 gcc and cmd/dminfo don't get along
6272051 gcc and cmd/nlsadmin don't get along
6273848 gcc and cmd/setfacl don't get along
6274778 gcc and ucbcmd/sed don't get along
Diffstat (limited to 'usr/src/cmd/setfacl/setfacl.c')
-rw-r--r-- | usr/src/cmd/setfacl/setfacl.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/usr/src/cmd/setfacl/setfacl.c b/usr/src/cmd/setfacl/setfacl.c index f76a4e68bb..0f97da84c3 100644 --- a/usr/src/cmd/setfacl/setfacl.c +++ b/usr/src/cmd/setfacl/setfacl.c @@ -19,17 +19,18 @@ * * CDDL HEADER END */ +/* + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + #pragma ident "%Z%%M% %I% %E% SMI" #ifndef lint -static char sccsid[] = "%Z%%M% %I% %E% SMI"; +static char sccsid[] = "@(#)setfacl.c 1.10 05/06/16 SMI"; #endif /* - * Copyright (c) 1993, by Sun Microsystems, Inc. - */ - -/* * setfacl [-r] -f aclfile file ... * setfacl [-r] -d acl_entries file ... * setfacl [-r] -m acl_entries file ... @@ -65,6 +66,7 @@ static int parse_entry(char *, aclent_t *, int); static void err_handle(int, aclent_t *); static int conv_id(char *); +int main(int argc, char *argv[]) { int c; @@ -188,7 +190,7 @@ main(int argc, char *argv[]) exit(2); } } - exit(0); + return (0); } /* @@ -389,6 +391,7 @@ parse_entry_list(aclent_t **aclpp, int *aclcntp, char *listp, int mode) if (convert_to_aclent_t(listp, aclcntp, aclpp, mode) == -1) return (-1); } + return (0); } /* |