]> granicus.if.org Git - file/commitdiff
Print "setuid" not "suid" (similarly for gid).
authorIan Darwin <ian@darwinsys.com>
Wed, 23 Sep 1987 21:14:28 +0000 (21:14 +0000)
committerIan Darwin <ian@darwinsys.com>
Wed, 23 Sep 1987 21:14:28 +0000 (21:14 +0000)
src/fsmagic.c

index 81c2a023984cd45ff1883ad1efc253d5281bc97a..6ca7d9ce3154b6c582f63e5ac869b2f12c98a6d1 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef        lint
 static char *moduleid = 
-       "@(#)$Header: /home/glen/git/file/cvs/file/src/fsmagic.c,v 1.6 1987/09/16 14:45:07 ian Exp $";
+       "@(#)$Header: /home/glen/git/file/cvs/file/src/fsmagic.c,v 1.7 1987/09/23 21:14:28 ian Exp $";
 #endif /* lint */
 
 extern char *progname;
@@ -69,8 +69,8 @@ char *fn;
                        return -1;
                }
 
-       if (statbuf.st_mode & S_ISUID) ckfputs("suid ", stdout);
-       if (statbuf.st_mode & S_ISGID) ckfputs("sgid ", stdout);
+       if (statbuf.st_mode & S_ISUID) ckfputs("setuid ", stdout);
+       if (statbuf.st_mode & S_ISGID) ckfputs("setgid ", stdout);
        if (statbuf.st_mode & S_ISVTX) ckfputs("sticky ", stdout);
        
        switch (statbuf.st_mode & S_IFMT) {