summaryrefslogtreecommitdiff
path: root/libbb/mode_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/mode_string.c')
-rw-r--r--libbb/mode_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mode_string.c b/libbb/mode_string.c
index 01029bf..d3ff183 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???";
/* 0123456789abcdef */
static const char mode_chars[7] = "rwxSTst";
-const char *bb_mode_string(int mode)
+const char *bb_mode_string(mode_t mode)
{
static char buf[12];
char *p = buf;
@@ -91,7 +91,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???";
/* 0123456789abcdef */
static const char mode_chars[7] = "rwxSTst";
-const char *bb_mode_string(int mode)
+const char *bb_mode_string(mode_t mode)
{
static char buf[12];
char *p = buf;