diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-21 19:12:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-21 19:12:03 +0000 |
commit | 22e8fe17966c0a9bfcabc5339af4d2f87672ef01 (patch) | |
tree | c2f05832eb092311204fecdd28669237df28b3bf /trans | |
parent | 1a5e4799205b4c64a1fb1c5f4cf5a1a788fe8f9e (diff) |
2002-06-21 Roland McGrath <roland@frob.com>
* streamio.c (parse_opt): Fix fencepost error in -n arg parsing.
Reported by Nicola Girardi <nicola@g-n-u.de>.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/streamio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/streamio.c b/trans/streamio.c index 645f5861..0faa8a3e 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -234,7 +234,7 @@ parse_opt (int key, char *arg, struct argp_state *state) if (*end == ',') /* MAJOR,MINOR form */ { - start = end; + start = end + 1; rdev = (rdev << 8) + strtoul (start, &end, 0); } |