From cf3a9741dc7427efb97eff09a3c197a906ce6767 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 28 Sep 1998 21:43:48 +0000 Subject: Changes to test in configure if capabilities are enabled on a system. Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09) --- source3/utils/status.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/utils/status.c') diff --git a/source3/utils/status.c b/source3/utils/status.c index 737700639b..344d46a9b9 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -143,7 +143,7 @@ static void print_share_mode(share_mode_entry *e, char *fname) { FILE *f; pstring fname; - int uid, c; + int c; static pstring servicesf = CONFIGFILE; extern char *optarg; int verbose = 0, brief =0; @@ -222,8 +222,6 @@ static void print_share_mode(share_mode_entry *e, char *fname) printf("Opened status file %s\n", fname); } - uid = getuid(); - if (!locks_only) { if (!processes_only) { -- cgit