diff options
| author | Karel Zak <kzak@redhat.com> | 2019-08-30 15:40:06 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2019-08-30 15:40:06 +0200 |
| commit | 7837cd491a6c99aa69a31082b28a0c8b6045b7bc (patch) | |
| tree | 770bb995e0d02f77b7ee0d338a9e718a632bd1cd /disk-utils/sfdisk.c | |
| parent | ee551c909f95437fd9fcd162f398c069d0ce9720 (diff) | |
| download | util-linux-7837cd491a6c99aa69a31082b28a0c8b6045b7bc.tar.gz | |
sfdisk: write all message to stdout
The code writes message to stdout and \n to stderr.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.c')
| -rw-r--r-- | disk-utils/sfdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index 7386147a82..2ceec71ba0 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -1478,7 +1478,7 @@ static void follow_wipe_mode(struct sfdisk *sf) if (!fdisk_is_ptcollision(sf->cxt)) { fdisk_info(sf->cxt, _("The old %s signature will be removed by a write command."), fdisk_get_collision(sf->cxt)); - fputc('\n', stderr); + fputc('\n', stdout); } } else { fdisk_warnx(sf->cxt, _( |
