From 5b82289b6071acfdccb1aff7beb9e63d950aac55 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 14 Sep 2018 16:26:38 +0200 Subject: lib/strutils: return from xstrmode() Signed-off-by: Karel Zak --- include/strutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/strutils.h') diff --git a/include/strutils.h b/include/strutils.h index 2e35be3c5..f5979d936 100644 --- a/include/strutils.h +++ b/include/strutils.h @@ -88,7 +88,7 @@ static inline int strdup_to_offset(void *stru, size_t offset, const char *str) #define strdup_to_struct_member(_s, _m, _str) \ strdup_to_offset((void *) _s, offsetof(__typeof__(*(_s)), _m), _str) -extern void xstrmode(mode_t mode, char *str); +extern char *xstrmode(mode_t mode, char *str); /* Options for size_to_human_string() */ enum -- cgit v1.2.3-55-g7522