aboutsummaryrefslogtreecommitdiff
path: root/razer-bw-te-ctl.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-26 12:26:19 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-12-26 12:26:19 +0100
commite53cddb030774765dec14ab120991fc775bc6959 (patch)
tree8f23edf3271f3bb6b3c651ddab6c97a05db2582f /razer-bw-te-ctl.c
parent8832ba22274540a406465ee96782393ab32faa5a (diff)
downloadusb-drivers-e53cddb030774765dec14ab120991fc775bc6959.tar.gz
usb-drivers-e53cddb030774765dec14ab120991fc775bc6959.tar.xz
usb-drivers-e53cddb030774765dec14ab120991fc775bc6959.zip
Fix up code style adjustments
Diffstat (limited to 'razer-bw-te-ctl.c')
-rw-r--r--razer-bw-te-ctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/razer-bw-te-ctl.c b/razer-bw-te-ctl.c
index b56136c..e9e55cb 100644
--- a/razer-bw-te-ctl.c
+++ b/razer-bw-te-ctl.c
@@ -198,8 +198,8 @@ parse_options(int argc, char *argv[],
};
if (argc == 1) {
- show_usage (argv[0]);
- exit (EXIT_FAILURE);
+ show_usage(argv[0]);
+ exit(EXIT_FAILURE);
}
int c;
@@ -256,7 +256,7 @@ parse_options(int argc, char *argv[],
!strcasecmp(optarg, "on") ||
!strcasecmp(optarg, "yes")) {
new_config->gaming_mode = true;
- } else if (!strcasecmp (optarg, "false") ||
+ } else if (!strcasecmp(optarg, "false") ||
!strcasecmp(optarg, "off") ||
!strcasecmp(optarg, "no")) {
new_config->gaming_mode = false;
@@ -362,7 +362,7 @@ main(int argc, char *argv[])
if ((result = apply_options(device, &options, &new_config)))
FAIL(error_4, "operation failed: %s\n",
- libusb_error_name (result));
+ libusb_error_name(result));
error_4:
if ((result = libusb_release_interface(device, BW_CTL_IFACE)))
FAIL(error_3, "couldn't release interface: %s\n",