diff options
author | Ian Darwin <ian@darwinsys.com> | 1987-09-23 21:14:28 +0000 |
---|---|---|
committer | Ian Darwin <ian@darwinsys.com> | 1987-09-23 21:14:28 +0000 |
commit | 98a5cfa3d8bb7c1c21b15dcc0cadc05b427fa746 (patch) | |
tree | 431d761bb8b27422ae557f1059f78ba460400a25 /src/fsmagic.c | |
parent | 2bb054f9b2d485108c613374e5b70440ddd885dd (diff) | |
download | file-git-98a5cfa3d8bb7c1c21b15dcc0cadc05b427fa746.tar.gz |
Print "setuid" not "suid" (similarly for gid).
Diffstat (limited to 'src/fsmagic.c')
-rw-r--r-- | src/fsmagic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fsmagic.c b/src/fsmagic.c index 81c2a023..6ca7d9ce 100644 --- a/src/fsmagic.c +++ b/src/fsmagic.c @@ -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) { |