summaryrefslogtreecommitdiff
path: root/shairport.c
diff options
context:
space:
mode:
authorChris Boot <bootc@debian.org>2019-07-27 00:05:38 -0300
committerChris Boot <bootc@debian.org>2019-07-27 00:05:38 -0300
commitb9cf91b2bbecec8dafaff9400819435070319160 (patch)
tree79c91b5087180decc3362bc2b474b8c984d2ee75 /shairport.c
parentaddc744bfa6c76b8a8f8604668f6b8134de4bdac (diff)
More typo fixes across the tree
Previously I have made spelling changes as caught by Debian's lintian tool, which has a short list of common misspellings that it tests for. This time I decided to run codespell against the source and fix all the obvious problems it came up with. It also uses a list of misspellings but it's much larger than lintian's, but also has some false positives so I went over the list by hand. The command I used to do check the source was: git ls-tree -rz --name-only HEAD | xargs -0 codespell -L minimise,errorstring
Diffstat (limited to 'shairport.c')
-rw-r--r--shairport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shairport.c b/shairport.c
index 6d74cae..21d20df 100644
--- a/shairport.c
+++ b/shairport.c
@@ -1143,7 +1143,7 @@ int parse_options(int argc, char **argv) {
/* Check if we are called with -d or --daemon or -j or justDaemoniseNoPIDFile options*/
if ((daemonisewith != 0) || (daemonisewithout != 0)) {
fprintf(stderr, "%s was built without libdaemon, so does not support daemonisation using the "
- "-d, --deamon, -j or --justDaemoniseNoPIDFile options\n",
+ "-d, --daemon, -j or --justDaemoniseNoPIDFile options\n",
config.appName);
exit(EXIT_FAILURE);
}
@@ -1494,7 +1494,7 @@ int main(int argc, char **argv) {
return 1;
}
- /* Set indentification string for the daemon for both syslog and PID file */
+ /* Set identification string for the daemon for both syslog and PID file */
daemon_pid_file_ident = daemon_log_ident = daemon_ident_from_argv0(argv[0]);
daemon_pid_file_proc = pid_file_proc;
@@ -1696,7 +1696,7 @@ int main(int argc, char **argv) {
debug(1, "statistics_requester status is %d.", config.statistics_requested);
#if CONFIG_LIBDAEMON
debug(1, "daemon status is %d.", config.daemonise);
- debug(1, "deamon pid file path is \"%s\".", pid_file_proc());
+ debug(1, "daemon pid file path is \"%s\".", pid_file_proc());
#endif
debug(1, "rtsp listening port is %d.", config.port);
debug(1, "udp base port is %d.", config.udp_port_base);