aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2007-12-27 12:17:45 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2007-12-27 12:17:45 +0000
commit2c50272da5d198f4027b28f359cac2516f2e83aa (patch)
treebc112a50c9ba1f32eb600b2a09f3045af1dcac20 /tools
parent961fdc4faca8915cffdd12209ee4f27ae5c15ee7 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/nanobsd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 1378861c8822..e5e609e7d956 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -367,8 +367,8 @@ create_i386_diskimage ( ) (
# Data partition (if any) starts at cylinder boundary.
if ($7 > 0) {
print "p 4 165 " c, dsl * cs
- } else if ($7 < 0 && $1 > $c) {
- print "p 4 165 " c, $1 - $c
+ } else if ($7 < 0 && $1 > c) {
+ print "p 4 165 " c, $1 - c
} else if ($1 < c) {
print "Disk space overcommitted by", \
c - $1, "sectors" > "/dev/stderr"