diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-04-02 18:00:56 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-04-02 18:00:56 +0000 |
commit | 45145daf2459eff0d28f6dc2ba1e2a558e3f1339 (patch) | |
tree | 8899864c421061383cf1415286d8cc460ee45782 /sbin/fdisk/cmd.c | |
parent | 3f1fc576d7d265f88004ee015eb2183fea769096 (diff) |
Don't printf("offset: ...) before every call to MBR_print(). Do it
once inside MBR_print().
Diffstat (limited to 'sbin/fdisk/cmd.c')
-rw-r--r-- | sbin/fdisk/cmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index dadcfec52ae..19b5e2f9606 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.81 2015/03/26 20:32:10 krw Exp $ */ +/* $OpenBSD: cmd.c,v 1.82 2015/04/02 18:00:55 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -49,7 +49,6 @@ Xreinit(char *args, struct mbr *mbr) /* Tell em we did something */ printf("In memory copy is initialized to:\n"); - printf("Offset: %lld\t", (long long)mbr->offset); MBR_print(mbr, args); printf("Use 'write' to update disk.\n"); @@ -260,7 +259,6 @@ Xprint(char *args, struct mbr *mbr) { DISK_printgeometry(args); - printf("Offset: %lld\t", (long long)mbr->offset); MBR_print(mbr, args); return (CMD_CONT); |