From: Michael Marley Date: Thu, 22 Jun 2023 21:04:01 +0000 (-0400) Subject: Fix spelling errors encountered during previous work X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b5c526977eddfa4535df91ea4e23c8910c69b11;p=thirdparty%2Ftvheadend.git Fix spelling errors encountered during previous work --- diff --git a/src/config.c b/src/config.c index 6ffa09c71..eaeba32a9 100644 --- a/src/config.c +++ b/src/config.c @@ -1723,7 +1723,7 @@ static char *config_get_dir ( uid_t uid ) if ((readlink(hts_home, hts_home_link, sizeof(hts_home_link)) == -1) || (stat(hts_home_link, &st) == -1)) { - tvherror(LS_CONFIG, ".hts/tvheadend is inaccessable: %s", strerror(errno)); + tvherror(LS_CONFIG, ".hts/tvheadend is inaccessible: %s", strerror(errno)); return NULL; } strncpy(hts_home, hts_home_link, sizeof(hts_home)); diff --git a/src/main.c b/src/main.c index c10392a5a..04c5434ce 100644 --- a/src/main.c +++ b/src/main.c @@ -1113,7 +1113,7 @@ main(int argc, char **argv) signal(SIGPIPE, handle_sigpipe); // will be redundant later signal(SIGILL, handle_sigill); // see handler.. - /* Set priviledges */ + /* Set privileges */ if((opt_fork && getuid() == 0) || opt_group || opt_user) { const char *homedir; struct group *grp = getgrnam(opt_group ?: "video");