summaryrefslogtreecommitdiff
path: root/misc-utils/wipefs.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-04-22 21:53:11 +0200
committerKarel Zak <kzak@redhat.com>2010-04-22 21:53:11 +0200
commit70601bb696502fd5d597c4dcaaeb5897a4d36961 (patch)
tree39b6a585716061ad0638a9199763747a9c97d0b3 /misc-utils/wipefs.c
parentcba1f9757ae2c9a94633abb5f7f47311378cc3ff (diff)
downloadutil-linux-old-70601bb696502fd5d597c4dcaaeb5897a4d36961.tar.gz
wipefs: print warning is PT detected
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/wipefs.c')
-rw-r--r--misc-utils/wipefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c
index 7cee1e51..4d850501 100644
--- a/misc-utils/wipefs.c
+++ b/misc-utils/wipefs.c
@@ -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);
}