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

@@ -94,10 +94,10 @@ gt_show(int argc, char **argv)
case -1:
perror("show");
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: