diff options
author | 1997-10-24 02:49:55 +0000 | |
---|---|---|
committer | 1997-10-24 02:49:55 +0000 | |
commit | 8dddfaa0459b5c22d43e32d7fe6f83bf2de846e4 (patch) | |
tree | 1931c35e977fa0f35415419281c0feb4e91160cb | |
parent | Warn that geom may be wrong for ports with old scsi. (diff) | |
download | wireguard-openbsd-8dddfaa0459b5c22d43e32d7fe6f83bf2de846e4.tar.xz wireguard-openbsd-8dddfaa0459b5c22d43e32d7fe6f83bf2de846e4.zip |
Typo
-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; |