summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mtree/create.c')
-rw-r--r--usr.sbin/mtree/create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c
index 72049f4..0146bd2 100644
--- a/usr.sbin/mtree/create.c
+++ b/usr.sbin/mtree/create.c
@@ -254,7 +254,7 @@ statf(indent, p)
output(indent, &offset, "link=%s", rlink(p->fts_accpath));
if (keys & F_FLAGS && p->fts_statp->st_flags != flags)
output(indent, &offset, "flags=%s",
- flags_to_string(p->fts_statp->st_flags, "none"));
+ getflags(p->fts_statp->st_flags, "none"));
(void)putchar('\n');
}
@@ -372,7 +372,7 @@ statd(t, parent, puid, pgid, pmode, pflags)
(void)printf(" nlink=1");
if (keys & F_FLAGS && saveflags)
(void)printf(" flags=%s",
- flags_to_string(saveflags, "none"));
+ getflags(saveflags, "none"));
(void)printf("\n");
*puid = saveuid;
*pgid = savegid;
OpenPOWER on IntegriCloud