diff options
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r-- | sbin/disklabel/editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index b3143b3d4ce..d970581a42d 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.16 1997/10/17 04:37:52 deraadt Exp $ */ +/* $OpenBSD: editor.c,v 1.17 1997/10/17 19:50:43 millert Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -31,7 +31,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: editor.c,v 1.16 1997/10/17 04:37:52 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.17 1997/10/17 19:50:43 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -1163,7 +1163,7 @@ edit_parms(lp, freep) lp->d_ntracks = ui; /* sectors/cylinder */ - lp->d_ncylinders = lp->d_ntracks * lp->d_nsectors; + lp->d_secpercyl = lp->d_ntracks * lp->d_nsectors; /* number of cylinders */ for (;;) { |