summaryrefslogtreecommitdiff
path: root/partx
diff options
context:
space:
mode:
Diffstat (limited to 'partx')
-rw-r--r--partx/partx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/partx/partx.c b/partx/partx.c
index 2631d1fd..bf18a4eb 100644
--- a/partx/partx.c
+++ b/partx/partx.c
@@ -699,7 +699,7 @@ int main(int argc, char **argv)
what = ACT_LIST;
break;
case 'n':
- if (parse_range(optarg, &lower, &upper))
+ if (parse_range(optarg, &lower, &upper, 0))
errx(EXIT_FAILURE, _("failed to parse --nr <M-N> range"));
break;
case 'o':