diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/string/strmode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libc/string/strmode.c b/src/lib/libc/string/strmode.c index 609b8931fb..c57fe74b23 100644 --- a/src/lib/libc/string/strmode.c +++ b/src/lib/libc/string/strmode.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: strmode.c,v 1.8 2015/08/31 02:53:57 guenther Exp $ */ | 1 | /* $OpenBSD: strmode.c,v 1.9 2024/06/23 07:08:26 otto Exp $ */ |
2 | /*- | 2 | /*- |
3 | * Copyright (c) 1990 The Regents of the University of California. | 3 | * Copyright (c) 1990 The Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -32,10 +32,8 @@ | |||
32 | #include <sys/stat.h> | 32 | #include <sys/stat.h> |
33 | #include <string.h> | 33 | #include <string.h> |
34 | 34 | ||
35 | /* XXX mode should be mode_t */ | ||
36 | |||
37 | void | 35 | void |
38 | strmode(int mode, char *p) | 36 | strmode(mode_t mode, char *p) |
39 | { | 37 | { |
40 | /* print type */ | 38 | /* print type */ |
41 | switch (mode & S_IFMT) { | 39 | switch (mode & S_IFMT) { |