diff options
author | Dmitry Fleytman <dfleytma@redhat.com> | 2015-03-21 21:54:03 +0200 |
---|---|---|
committer | Dmitry Fleytman <dfleytma@redhat.com> | 2015-03-25 17:37:55 +0200 |
commit | 97cf895463598c33c15b70772b9990134e033309 (patch) | |
tree | 8531c9b281ac2743dd392f20d2be7a695b86f743 /UsbDkController | |
parent | bccf5abebd48241a52608c8005451412ec31c976 (diff) |
UsbDkController: Fix return values and beautifications
Signed-off-by: Kirill Moizik <kirill@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
Diffstat (limited to 'UsbDkController')
-rw-r--r-- | UsbDkController/UsbDkController.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/UsbDkController/UsbDkController.cpp b/UsbDkController/UsbDkController.cpp index dfdc123..6ac491d 100644 --- a/UsbDkController/UsbDkController.cpp +++ b/UsbDkController/UsbDkController.cpp @@ -391,7 +391,7 @@ int __cdecl _tmain(int argc, TCHAR* argv[]) if (argc < 7) { ShowUsage(); - return 0; + return -3; } Controller_HideDevice(argv[2], argv[3], argv[4], argv[5], argv[6]); } @@ -417,7 +417,6 @@ int __cdecl _tmain(int argc, TCHAR* argv[]) { ShowUsage(); return -3; - } } else |