summaryrefslogtreecommitdiff
path: root/lib/libc/string/strmode.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-03-11 11:29:42 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-03-11 11:29:42 +0000
commite5493ddb0f25c41b247db685bb6a4af1c64cd57c (patch)
tree5048e0b7abece20012200a00d9b7b51c21e1b0da /lib/libc/string/strmode.c
parentc59376af7a4968518f1ea4a5a7caf56e35a12bab (diff)
parent662909a7800d5634772b89ca1509765dda837508 (diff)
Notes
Diffstat (limited to 'lib/libc/string/strmode.c')
-rw-r--r--lib/libc/string/strmode.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c
index 651b263489fe..2c3f44a94561 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;