summaryrefslogtreecommitdiffstats
path: root/lib/strutils.c
diff options
context:
space:
mode:
authorRuediger Meier2016-02-07 12:59:57 +0100
committerRuediger Meier2016-02-18 12:53:48 +0100
commitb0b24b11f8072fc854dbf6ee31be0feba93beba3 (patch)
treedd77194b56ba820ba7e14c87f0f66c9ed6c82346 /lib/strutils.c
parenttests: fix ts_option helpers (diff)
downloadkernel-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.c2
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;