diff options
Diffstat (limited to 'sys-utils/switch_root.c')
-rw-r--r-- | sys-utils/switch_root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/switch_root.c b/sys-utils/switch_root.c index be23fd809..dc55a6d08 100644 --- a/sys-utils/switch_root.c +++ b/sys-utils/switch_root.c @@ -90,7 +90,7 @@ static int recursiveRemove(int fd) struct stat sb; if (fstatat(dfd, d->d_name, &sb, AT_SYMLINK_NOFOLLOW)) { - warn(_("stat failed %s"), d->d_name); + warn(_("stat of %s failed"), d->d_name); continue; } @@ -130,7 +130,7 @@ static int switchroot(const char *newroot) struct stat newroot_stat, sb; if (stat(newroot, &newroot_stat) != 0) { - warn(_("stat failed %s"), newroot); + warn(_("stat of %s failed"), newroot); return -1; } |