From 98a5cfa3d8bb7c1c21b15dcc0cadc05b427fa746 Mon Sep 17 00:00:00 2001 From: Ian Darwin Date: Wed, 23 Sep 1987 21:14:28 +0000 Subject: [PATCH] Print "setuid" not "suid" (similarly for gid). --- src/fsmagic.c | 6 +++--- 1 file 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) { -- 2.50.1