]> err.no Git - util-linux/commitdiff
libblkid: fix warning message in mkfs sample
authorKarel Zak <kzak@redhat.com>
Wed, 7 Oct 2009 22:40:34 +0000 (00:40 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Oct 2009 22:40:34 +0000 (00:40 +0200)
shlibs/blkid/samples/mkfs.c

index eb9e27f5f11df34cf4af8c4c29c377a9f7ef149c..f21342284756b0bb6c89e0eac5aadfcb36fea419 100644 (file)
@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
 
                if (!blkid_probe_lookup_value(pr, "TYPE", &type, NULL))
                        errx(EXIT_FAILURE, "%s: appears to contain an existing "
-                                       "filesystem (%s)", devname, type);
+                                       "%s superblock", devname, type);
 
                if (!blkid_probe_lookup_value(pr, "PTTYPE", &type, NULL))
                        errx(EXIT_FAILURE, "%s: appears to contain an partition "