summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-10-04 15:09:42 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-10-04 15:09:42 +0000
commit416d5f696edf3ecbead6ce990141ef247020b889 (patch)
treec587f3f3842d87b5d08b17d22b6abf844bf175e5 /sbin/disklabel/editor.c
parent5b10c8c3cd80c41906a20399e74c68d91cf6c11a (diff)
Allow one more char for fstype, to avoid truncation of ISO9660 fstype.
spotted by and ok krw@
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r--sbin/disklabel/editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 4f4d791a3c2..83f8d689fa5 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.95 2004/09/28 17:57:46 otto Exp $ */
+/* $OpenBSD: editor.c,v 1.96 2004/10/04 15:09:41 otto Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: editor.c,v 1.95 2004/09/28 17:57:46 otto Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.96 2004/10/04 15:09:41 otto Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -802,7 +802,7 @@ editor_display(struct disklabel *lp, char **mp, u_int32_t *freep, char unit)
printf("free sectors: %u\n", *freep);
printf("rpm: %hu\n", lp->d_rpm);
printf("\n%hu partitions:\n", lp->d_npartitions);
- printf("# %13.13s %13.13s fstype [fsize bsize cpg]\n",
+ printf("# %13.13s %13.13s fstype [fsize bsize cpg]\n",
"size", "offset");
for (i = 0; i < lp->d_npartitions; i++)
display_partition(stdout, lp, mp, i, unit);