From: Karel Zak Date: Thu, 22 Apr 2010 19:53:11 +0000 (+0200) Subject: wipefs: print warning is PT detected X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70601bb696502fd5d597c4dcaaeb5897a4d36961;p=util-linux wipefs: print warning is PT detected Signed-off-by: Karel Zak --- 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); }