Files
libg15/debian/patches/01-fix-spelling.path
T

30 lines
1.3 KiB
SYSTEMD
Raw Normal View History

From: Alexander Ponyatykh <lazyranma@gmail.com>
Date: Fri, 15 Nov 2019 02:19:01 +0300
Subject: fix spelling error
---
libg15.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libg15.c b/libg15.c
index 369ed40..ba1c94b 100644
2019-11-14 00:57:22 +03:00
--- a/libg15.c
+++ b/libg15.c
@@ -152,7 +152,7 @@ static usb_dev_handle * findAndOpenDevice(libg15_devices_t handled_device, int d
2019-11-14 00:57:22 +03:00
if (!devh)
{
g15_log(stderr,G15_LOG_INFO, "Error, could not open the keyboard\n");
- g15_log(stderr,G15_LOG_INFO, "Perhaps you dont have enough permissions to access it\n");
+ g15_log(stderr,G15_LOG_INFO, "Perhaps you don't have enough permissions to access it\n");
return 0;
}
@@ -434,7 +434,7 @@ int handle_usb_errors(const char *prefix, int ret) {
2019-11-14 00:57:22 +03:00
case -ETIMEDOUT:
return G15_ERROR_READING_USB_DEVICE; /* backward-compatibility */
break;
- case -ENOSPC: /* the we dont have enough bandwidth, apparently.. something has to give here.. */
+ case -ENOSPC: /* the we don't have enough bandwidth, apparently.. something has to give here.. */
g15_log(stderr,G15_LOG_INFO,"usb error: ENOSPC.. reducing speed\n");
enospc_slowdown = 1;
break;