summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1378861..e5e609e 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"
OpenPOWER on IntegriCloud