}
/* 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) {
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 {
*
* @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) {
* 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) {
/**
* 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) {
* 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;