diff options
author | lulf <lulf@FreeBSD.org> | 2009-06-17 06:41:10 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-06-17 06:41:10 +0000 |
commit | f98c75f6cc6d20627ba7b5dccb255bc88a91a8ef (patch) | |
tree | 555e146a2cf3cb87f23171fd0beff962c1230f73 /sbin/fdisk | |
parent | f07852f8b59ab9270a62ef5e51dbb51c566494c6 (diff) | |
download | FreeBSD-src-f98c75f6cc6d20627ba7b5dccb255bc88a91a8ef.zip FreeBSD-src-f98c75f6cc6d20627ba7b5dccb255bc88a91a8ef.tar.gz |
- Back out the previous change in order to maintain compatibility.
Diffstat (limited to 'sbin/fdisk')
-rw-r--r-- | sbin/fdisk/fdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c index 604cc7d..1e121bb 100644 --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -1066,8 +1066,8 @@ process_geometry(CMD *command) warnx("ERROR line %d: number of heads not specified", current_line_number); status = 0; - } else if (dos_heads > 255) { - warnx("ERROR line %d: number of heads must be within (1-255)", + } else if (dos_heads > 256) { + warnx("ERROR line %d: number of heads must be within (1-256)", current_line_number); status = 0; } |