From 416d5f696edf3ecbead6ce990141ef247020b889 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 4 Oct 2004 15:09:42 +0000 Subject: Allow one more char for fstype, to avoid truncation of ISO9660 fstype. spotted by and ok krw@ --- sbin/disklabel/editor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/disklabel/editor.c') 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 @@ -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 @@ -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); -- cgit v1.2.3