From: Ian Darwin Date: Wed, 23 Sep 1987 21:14:28 +0000 (+0000) Subject: Print "setuid" not "suid" (similarly for gid). X-Git-Tag: FILE3_27~382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98a5cfa3d8bb7c1c21b15dcc0cadc05b427fa746;p=file Print "setuid" not "suid" (similarly for gid). --- 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) {