summaryrefslogtreecommitdiffstats
path: root/fdisks/fdiskdoslabel.c
diff options
context:
space:
mode:
authorKarel Zak2013-06-25 13:15:09 +0200
committerKarel Zak2013-09-16 16:47:03 +0200
commitf61d2632a695544aca4148531122129a8d5291be (patch)
tree34c0d91349f4a121ad0e1f39ea53bef58a028984 /fdisks/fdiskdoslabel.c
parentfdisk: (dos) clean up list PT functions (diff)
downloadkernel-qcow2-util-linux-f61d2632a695544aca4148531122129a8d5291be.tar.gz
kernel-qcow2-util-linux-f61d2632a695544aca4148531122129a8d5291be.tar.xz
kernel-qcow2-util-linux-f61d2632a695544aca4148531122129a8d5291be.zip
fdisk: (dos) remove remaining printf() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdiskdoslabel.c')
-rw-r--r--fdisks/fdiskdoslabel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fdisks/fdiskdoslabel.c b/fdisks/fdiskdoslabel.c
index ba1e0e445..40656c4dc 100644
--- a/fdisks/fdiskdoslabel.c
+++ b/fdisks/fdiskdoslabel.c
@@ -440,7 +440,7 @@ static void read_extended(struct fdisk_context *cxt, int ext)
void dos_print_mbr_id(struct fdisk_context *cxt)
{
- fdisk_info(cxt, _("Disk identifier: 0x%08x\n"),
+ fdisk_info(cxt, _("Disk identifier: 0x%08x"),
mbr_get_id(cxt->firstsector));
}
@@ -1180,7 +1180,7 @@ static int dos_add_partition(
return rc;
if (!buf[0]) {
c = dflt;
- printf(_("Using default response %c\n"), c);
+ fdisk_info(cxt, _("Using default response %c"), c);
} else
c = tolower(buf[0]);
@@ -1673,7 +1673,7 @@ void dos_fix_partition_table_order(struct fdisk_context *cxt)
if (i)
fix_chain_of_logicals(cxt);
- printf(_("Done.\n"));
+ fdisk_info(cxt, _("Done."));
}