diff options
author | Karel Zak | 2011-07-27 16:41:21 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-27 16:41:21 +0200 |
commit | c87638ad3076f5e7e0c80067631561c356148b79 (patch) | |
tree | f6210cb005d910adee8dacf1a7b5bd398a74a1ce /partx/partx.c | |
parent | include; [tt.c] check for array size in columns parser (diff) | |
download | kernel-qcow2-util-linux-c87638ad3076f5e7e0c80067631561c356148b79.tar.gz kernel-qcow2-util-linux-c87638ad3076f5e7e0c80067631561c356148b79.tar.xz kernel-qcow2-util-linux-c87638ad3076f5e7e0c80067631561c356148b79.zip |
include: [strutils.c] add list parsers
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.c')
-rw-r--r-- | partx/partx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/partx/partx.c b/partx/partx.c index 2451993e4..a42c1894f 100644 --- a/partx/partx.c +++ b/partx/partx.c @@ -676,8 +676,7 @@ int main(int argc, char **argv) errx(EXIT_FAILURE, _("failed to parse --nr <M-N> range")); break; case 'o': - ncolumns = tt_parse_columns_list( - optarg, + ncolumns = string_to_idarray(optarg, columns, ARRAY_SIZE(columns), column_name_to_id); if (ncolumns < 0) |