Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 06:41:10 +0000 (UTC)
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194333 - head/sbin/fdisk
Message-ID:  <200906170641.n5H6fAXa064961@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906170641.n5H6fAXa064961>