summaryrefslogtreecommitdiffstats
path: root/src/tdisksel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdisksel.c')
-rw-r--r--src/tdisksel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tdisksel.c b/src/tdisksel.c
index 14170ad..7bebd3f 100644
--- a/src/tdisksel.c
+++ b/src/tdisksel.c
@@ -241,8 +241,7 @@ static int testdisk_disk_selection_cli(int verbose,int dump_ind, const list_disk
}
if(*current_cmd!=NULL)
{
- while(*current_cmd[0]==',')
- (*current_cmd)++;
+ skip_comma_in_command(current_cmd);
{
disk_t *disk=current_disk->disk;
autodetect_arch(disk, NULL);