- stderr is used for the warning (like in fdisk)
Signed-off-by: Karel Zak <kzak@redhat.com>
if (dowipe) {
if (!fdisk_is_ptcollision(sf->cxt)) {
- fdisk_warn(sf->cxt, _(
+ fdisk_warnx(sf->cxt, _(
"The device contains '%s' signature and it will be removed by a write command. "
"See sfdisk(8) man page and --wipe option for more details."),
fdisk_get_collision(sf->cxt));
=====Create FS================================
=====Create DOS================================
-The old swap signature will be removed by a write command.
Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Disk model: scsi_debug
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
-The old swap signature will be removed by a write command.
<removed>1: Created a new <removed>.
<removed>2: Done.
+The device contains 'swap' signature and it will be removed by a write command. See sfdisk(8) man page and --wipe option for more details.
+The device contains 'swap' signature and it will be removed by a write command. See sfdisk(8) man page and --wipe option for more details.