diff options
author | Ruediger Meier | 2016-02-07 12:59:57 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-18 12:53:48 +0100 |
commit | b0b24b11f8072fc854dbf6ee31be0feba93beba3 (patch) | |
tree | dd77194b56ba820ba7e14c87f0f66c9ed6c82346 /lib/strutils.c | |
parent | tests: fix ts_option helpers (diff) | |
download | kernel-qcow2-util-linux-b0b24b11f8072fc854dbf6ee31be0feba93beba3.tar.gz kernel-qcow2-util-linux-b0b24b11f8072fc854dbf6ee31be0feba93beba3.tar.xz kernel-qcow2-util-linux-b0b24b11f8072fc854dbf6ee31be0feba93beba3.zip |
lib: rename strmode() and setmode()
On BSD they are part of the standard C library.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'lib/strutils.c')
-rw-r--r-- | lib/strutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strutils.c b/lib/strutils.c index ac59de8ee..ef81ebd74 100644 --- a/lib/strutils.c +++ b/lib/strutils.c @@ -425,7 +425,7 @@ void strtotimeval_or_err(const char *str, struct timeval *tv, const char *errmes * Converts stat->st_mode to ls(1)-like mode string. The size of "str" must * be 11 bytes. */ -void strmode(mode_t mode, char *str) +void xstrmode(mode_t mode, char *str) { unsigned short i = 0; |