wipefs: print warning is PT detected

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2010-04-22 21:53:11 +02:00
parent cba1f9757a
commit 70601bb696
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ read_offsets(struct wipe_desc *wp, const char *fname, int zap)
if (rc == 0) {
const char *type = NULL;
blkid_probe_lookup_value(pr, "PTTYPE", &type, NULL);
errx(EXIT_FAILURE, _("error: %s: appears to contain '%s' "
warnx(_("WARNING: %s: appears to contain '%s' "
"partition table"), fname, type);
}