summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-29 22:58:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-29 22:58:25 +0000
commitb8ace5142f6f2623be105ea7b03e07bd85b6ae89 (patch)
tree30ce02ff84c81847c192521cf1db86bb6b0f2de1 /sbin
parentb5c67a4e6ea09b06ef44f6f9f4036ff2262e4bda (diff)
code that stank and made me upset
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/part.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c
index dd29cd30986..6867749d65d 100644
--- a/sbin/fdisk/part.c
+++ b/sbin/fdisk/part.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.c,v 1.49 2009/04/01 15:00:55 jsg Exp $ */
+/* $OpenBSD: part.c,v 1.50 2009/04/29 22:58:24 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -291,13 +291,13 @@ PRT_print(int num, prt_t *partn, char *units)
size = ((double)partn->ns * unit_types[SECTORS].conversion) /
unit_types[i].conversion;
printf("%c%1d: %.2X %6u %3u %3u - %6u %3u %3u [%12u:%12.0f%s] %s\n",
- (partn->flag == 0x80)?'*':' ',
- num, partn->id,
- partn->scyl, partn->shead, partn->ssect,
- partn->ecyl, partn->ehead, partn->esect,
- partn->bs, size,
- unit_types[i].abbr,
- PRT_ascii_id(partn->id));
+ (partn->flag == 0x80)?'*':' ',
+ num, partn->id,
+ partn->scyl, partn->shead, partn->ssect,
+ partn->ecyl, partn->ehead, partn->esect,
+ partn->bs, size,
+ unit_types[i].abbr,
+ PRT_ascii_id(partn->id));
}
}