summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2018-09-14 16:26:38 +0200
committerKarel Zak2018-09-14 16:26:38 +0200
commit5b82289b6071acfdccb1aff7beb9e63d950aac55 (patch)
tree22d216560f15daa60893930e6236993e0e161577 /include
parentlsblk: differentiate between swap and mount (diff)
downloadkernel-qcow2-util-linux-5b82289b6071acfdccb1aff7beb9e63d950aac55.tar.gz
kernel-qcow2-util-linux-5b82289b6071acfdccb1aff7beb9e63d950aac55.tar.xz
kernel-qcow2-util-linux-5b82289b6071acfdccb1aff7beb9e63d950aac55.zip
lib/strutils: return from xstrmode()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/strutils.h2
1 files changed, 1 insertions, 1 deletions
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