Code cleanup

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-07-20 08:19:55 +00:00
parent 67ea65b1a8
commit 0528adcfe2
5 changed files with 11 additions and 8 deletions

View File

@@ -141,10 +141,10 @@ gt_path(int argc, char **argv)
case -1:
perror("path");
break;
case -2:
case CTL_ERROR_NONE:
gt_log("no device\n");
break;
case -3:
case CTL_ERROR_MANY:
gt_log("please choose a device\n");
break;
default: