summaryrefslogtreecommitdiffstats
path: root/misc-utils/namei.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 /misc-utils/namei.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 'misc-utils/namei.c')
-rw-r--r--misc-utils/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/namei.c b/misc-utils/namei.c
index 41557cac3..576e3ef86 100644
--- a/misc-utils/namei.c
+++ b/misc-utils/namei.c
@@ -288,7 +288,7 @@ print_namei(struct namei *nm, char *path)
return -1;
}
- strmode(nm->st.st_mode, md);
+ xstrmode(nm->st.st_mode, md);
if (nm->mountpoint)
md[0] = 'D';