From 8c12210373e5ccc7b8df72a99a088140003a4fd4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Jun 2002 21:13:26 +0000 Subject: 2002-06-22 Roland McGrath * storeio.c (parse_opt): Fix fencepost error in -n arg parsing. Reported by Nicola Girardi . --- storeio/storeio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'storeio') diff --git a/storeio/storeio.c b/storeio/storeio.c index 6dffb716..a6470fcb 100644 --- a/storeio/storeio.c +++ b/storeio/storeio.c @@ -1,6 +1,6 @@ /* A translator for doing I/O to stores - Copyright (C) 1995,96,97,98,99,2000,01 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2000,01,02 Free Software Foundation, Inc. Written by Miles Bader This program is free software; you can redistribute it and/or @@ -81,7 +81,7 @@ parse_opt (int key, char *arg, struct argp_state *state) if (*end == ',') /* MAJOR,MINOR form */ { - start = end; + start = end + 1; rdev = makedev (rdev, strtoul (start, &end, 0)); } -- cgit v1.2.3