diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/mode_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mode_string.c b/libbb/mode_string.c index 01029bfee..d3ff18375 100644 --- a/libbb/mode_string.c +++ b/libbb/mode_string.c | |||
@@ -51,7 +51,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???"; | |||
51 | /* 0123456789abcdef */ | 51 | /* 0123456789abcdef */ |
52 | static const char mode_chars[7] = "rwxSTst"; | 52 | static const char mode_chars[7] = "rwxSTst"; |
53 | 53 | ||
54 | const char *bb_mode_string(int mode) | 54 | const char *bb_mode_string(mode_t mode) |
55 | { | 55 | { |
56 | static char buf[12]; | 56 | static char buf[12]; |
57 | char *p = buf; | 57 | char *p = buf; |
@@ -91,7 +91,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???"; | |||
91 | /* 0123456789abcdef */ | 91 | /* 0123456789abcdef */ |
92 | static const char mode_chars[7] = "rwxSTst"; | 92 | static const char mode_chars[7] = "rwxSTst"; |
93 | 93 | ||
94 | const char *bb_mode_string(int mode) | 94 | const char *bb_mode_string(mode_t mode) |
95 | { | 95 | { |
96 | static char buf[12]; | 96 | static char buf[12]; |
97 | char *p = buf; | 97 | char *p = buf; |