diff options
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/string/strmode.3 | 4 | ||||
| -rw-r--r-- | src/lib/libc/string/strmode.c | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/libc/string/strmode.3 b/src/lib/libc/string/strmode.3 index 3a7a4bb3fa..99e6d44fd2 100644 --- a/src/lib/libc/string/strmode.3 +++ b/src/lib/libc/string/strmode.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: strmode.3,v 1.12 2005/02/25 03:12:44 cloder Exp $ | 1 | .\" $OpenBSD: strmode.3,v 1.13 2005/06/15 17:48:52 millert Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991, 1993 | 3 | .\" Copyright (c) 1990, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -67,8 +67,6 @@ symbolic link | |||
| 67 | FIFO | 67 | FIFO |
| 68 | .It s | 68 | .It s |
| 69 | socket | 69 | socket |
| 70 | .It w | ||
| 71 | whiteout | ||
| 72 | .It \&? | 70 | .It \&? |
| 73 | unknown inode type | 71 | unknown inode type |
| 74 | .El | 72 | .El |
diff --git a/src/lib/libc/string/strmode.c b/src/lib/libc/string/strmode.c index bd78403cb2..eedd65aaf3 100644 --- a/src/lib/libc/string/strmode.c +++ b/src/lib/libc/string/strmode.c | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | */ | 28 | */ |
| 29 | 29 | ||
| 30 | #if defined(LIBC_SCCS) && !defined(lint) | 30 | #if defined(LIBC_SCCS) && !defined(lint) |
| 31 | static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; | 31 | static char *rcsid = "$OpenBSD: strmode.c,v 1.6 2005/06/15 17:48:52 millert Exp $"; |
| 32 | #endif /* LIBC_SCCS and not lint */ | 32 | #endif /* LIBC_SCCS and not lint */ |
| 33 | 33 | ||
| 34 | #include <sys/types.h> | 34 | #include <sys/types.h> |
| @@ -65,11 +65,6 @@ strmode(int mode, char *p) | |||
| 65 | *p++ = 'p'; | 65 | *p++ = 'p'; |
| 66 | break; | 66 | break; |
| 67 | #endif | 67 | #endif |
| 68 | #ifdef S_IFWHT | ||
| 69 | case S_IFWHT: /* whiteout */ | ||
| 70 | *p++ = 'w'; | ||
| 71 | break; | ||
| 72 | #endif | ||
| 73 | default: /* unknown */ | 68 | default: /* unknown */ |
| 74 | *p++ = '?'; | 69 | *p++ = '?'; |
| 75 | break; | 70 | break; |
