summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-07-14 10:44:17 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-07-14 10:44:17 +0200
commit65bfbc1a7b54713186e062dd332c5fe6c9660d5d (patch)
tree81281dbf9695beaa2d87c3b973b3ae0f0e18e435 /src
parent682f15d9982e73c50b2aea5fbc580ac8619650d0 (diff)
Display that the number of heads per cylinder is between 1 and 255
Diffstat (limited to 'src')
-rw-r--r--src/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 9c3eec6..749f3a4 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -231,7 +231,7 @@ static int change_geometry_ncurses(disk_t *disk_car)
case 'H':
{
sprintf(def, "%u", disk_car->geom.heads_per_cylinder);
- mvwaddstr(stdscr,INTER_GEOM_Y, INTER_GEOM_X, "Enter the number of heads: ");
+ mvwaddstr(stdscr,INTER_GEOM_Y, INTER_GEOM_X, "Enter the number of heads (1-255): ");
wclrtoeol(stdscr);
if (get_string(stdscr, response, sizeof(response), def) > 0) {
tmp_val = atoi(response);