diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-17 19:50:44 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-17 19:50:44 +0000 |
commit | 64ca0d10cdfd06580b34bd6e84dbb25e325c4bfb (patch) | |
tree | be372b6b4e97a2b7364569a03c8e80caf611c5fa | |
parent | 743e0a15d53ec40dc90929a6aa44dad3b0793308 (diff) |
Fix pasto.
-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 (;;) { |