From: Andreas Beckmann Date: Sat, 22 Aug 2020 19:42:31 +0000 (+0100) Subject: fix some typos found by Lintian X-Git-Tag: archive/raspbian/3.2.1-26+rpi1~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6eeeff381960c6cec07fb93cfd0a2399cee440f9;p=bumblebee.git fix some typos found by Lintian Gbp-Pq: Name fix-typos.patch --- diff --git a/src/bbconfig.c b/src/bbconfig.c index 1dff5e0..9d26df3 100644 --- a/src/bbconfig.c +++ b/src/bbconfig.c @@ -201,11 +201,11 @@ void print_usage(int exit_val) { } /* common options */ fputs("\ - -q, --quiet, --silent supresses all logging messages\n\ + -q, --quiet, --silent suppresses all logging messages\n\ -v, --verbose increase the verbosity level of log messages. It\n\ can be specified up to two times (or five if\n\ --quiet is used)\n\ - --debug show all logging messsages by setting the verbosity\n\ + --debug show all logging messages by setting the verbosity\n\ level to the maximum\n\ -C, --config FILE retrieve settings for Bumblebee from FILE\n", out); if (is_optirun) { diff --git a/src/bbrun.c b/src/bbrun.c index 529ee72..f6b134e 100644 --- a/src/bbrun.c +++ b/src/bbrun.c @@ -170,7 +170,7 @@ int bb_run_fork(char **argv, int detached) { exitcode = 128 + WTERMSIG(status); } } else { - bb_log(LOG_ERR, "waitpid(%i) faild with %s\n", pid, strerror(errno)); + bb_log(LOG_ERR, "waitpid(%i) failed with %s\n", pid, strerror(errno)); } pidlist_remove(pid); } else { diff --git a/src/module.c b/src/module.c index f6d7144..bb32e15 100644 --- a/src/module.c +++ b/src/module.c @@ -64,7 +64,7 @@ int module_is_loaded(char *driver) { * * @param module_name The filename of the module to be loaded * @param driver The name of the driver to be loaded - * @return 1 if the driver is succesfully loaded, 0 otherwise + * @return 1 if the driver is successfully loaded, 0 otherwise */ int module_load(char *module_name, char *driver) { if (module_is_loaded(driver) == 0) { @@ -89,7 +89,7 @@ int module_load(char *module_name, char *driver) { * giving up * * @param driver The name of the driver (not a filename) - * @return 1 if the driver is succesfully unloaded, 0 otherwise + * @return 1 if the driver is successfully unloaded, 0 otherwise */ int module_unload(char *driver) { if (module_is_loaded(driver) == 1) { diff --git a/src/optirun.c b/src/optirun.c index 65c83d4..bcc6c13 100644 --- a/src/optirun.c +++ b/src/optirun.c @@ -62,7 +62,7 @@ static void handle_signal(int sig) { /** * Prints the status of the Bumblebee server if available - * @return EXIT_SUCCESS if the status is succesfully retrieved, + * @return EXIT_SUCCESS if the status is successfully retrieved, * EXIT_FAILURE otherwise */ static int report_daemon_status(void) { diff --git a/src/switch/sw_bbswitch.c b/src/switch/sw_bbswitch.c index e2d712d..8741f2d 100644 --- a/src/switch/sw_bbswitch.c +++ b/src/switch/sw_bbswitch.c @@ -98,7 +98,7 @@ int bbswitch_is_available(struct switch_info info) { * recognized by bbswitch. Assuming that vga_switcheroo was not told to OFF * the device */ if (module_load("bbswitch", "bbswitch")) { - bb_log(LOG_DEBUG, "succesfully loaded bbswitch\n"); + bb_log(LOG_DEBUG, "successfully loaded bbswitch\n"); /* hurrah, bbswitch could be loaded which means that the module is * available and that the card is supported */ return 1;