svn commit: r194333 - head/sbin/fdisk

Ulf Lilleengen lulf at FreeBSD.org
Wed Jun 17 06:41:11 UTC 2009


Author: lulf
Date: Wed Jun 17 06:41:10 2009
New Revision: 194333
URL: http://svn.freebsd.org/changeset/base/194333

Log:
  - Back out the previous change in order to maintain compatibility.

Modified:
  head/sbin/fdisk/fdisk.c

Modified: head/sbin/fdisk/fdisk.c
==============================================================================
--- head/sbin/fdisk/fdisk.c	Wed Jun 17 06:25:45 2009	(r194332)
+++ head/sbin/fdisk/fdisk.c	Wed Jun 17 06:41:10 2009	(r194333)
@@ -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;
 	}


More information about the svn-src-all mailing list