diff options
Diffstat (limited to 'lib/libc/string/strmode.c')
-rw-r--r-- | lib/libc/string/strmode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index 651b263..2c3f44a 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)strmode.c 8.1 (Berkeley) 6/4/93"; +static char sccsid[] = "@(#)strmode.c 8.3 (Berkeley) 8/15/94"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -69,6 +69,11 @@ strmode(mode, p) *p++ = 'p'; break; #endif +#ifdef S_IFWHT + case S_IFWHT: /* whiteout */ + *p++ = 'w'; + break; +#endif default: /* unknown */ *p++ = '?'; break; |