Rename the patch: 01-fix-spelling.path -> 01-fix-spelling.patch

This commit is contained in:
Andrej Shadura committed 2019-12-05 14:31:20 +00:00
1 parent 4663ed8917
commit efc707a7bf
2 files changed
+1 -1

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
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 31b2bd6..56df958 100644
--- a/libg15.c
+++ b/libg15.c
@@ -152,7 +152,7 @@ static usb_dev_handle * findAndOpenDevice(libg15_devices_t handled_device, int d
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;
}
@@ -433,7 +433,7 @@ int handle_usb_errors(const char *prefix, int ret) {
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;