Let's use the same error message everywhere to reduce number of
strings for translators.
Signed-off-by: Karel Zak <kzak@redhat.com>
snprintf(path, sizeof(path), "/proc/%u/ns/mnt", (unsigned) pid);
if (stat(path, &st) != 0)
- err(EXIT_FAILURE, _("cannot stat %s"), path);
+ err(EXIT_FAILURE, _("stat of %s failed"), path);
return st.st_ino;
}
return;
}
if (fstat(fileno(ctl->current_file), &st) != 0) {
- warn(_("cannot stat %s"), fs);
+ warn(_("stat of %s failed"), fs);
return;
}
if ((st.st_mode & S_IFMT) == S_IFDIR) {