diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-24 02:49:56 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-10-24 02:49:56 +0000 |
commit | fd4f545692dd63307863efb512ec48cd67add913 (patch) | |
tree | 992c90999446a9c401d5abaeb49cfa0366eef8df /sbin | |
parent | 9237dadd1989611f4951caddd770b73030a5131f (diff) |
Typo
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index bfc777d6af1..efd36401300 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.23 1997/10/24 02:44:07 millert Exp $ */ +/* $OpenBSD: editor.c,v 1.24 1997/10/24 02:49:55 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.23 1997/10/24 02:44:07 millert Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.24 1997/10/24 02:49:55 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -419,8 +419,8 @@ editor_add(lp, freep, p) #if NUMBOOT == 1 /* Don't clobber boot blocks */ if (pp->p_offset == 0) { - pp->p_offset = pp->d_secpercyl; - pp->p_size -= pp->d_secpercyl; + pp->p_offset = lp->d_secpercyl; + pp->p_size -= lp->d_secpercyl; } #endif old_offset = pp->p_offset; |