]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix spelling errors encountered during previous work
authorMichael Marley <michael@michaelmarley.com>
Thu, 22 Jun 2023 21:04:01 +0000 (17:04 -0400)
committerFlole998 <Flole998@users.noreply.github.com>
Fri, 23 Jun 2023 11:27:51 +0000 (13:27 +0200)
src/config.c
src/main.c

index 6ffa09c718bcb7f16eef8f3981f3bf1c5d46bf5f..eaeba32a9c9a55af46d22abd2202a2e1bd98ada5 100644 (file)
@@ -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));
index c10392a5ae16f612ad870aa013bfdd30dfb1a819..04c5434ceb0a58000990b1d7c11f9a03889b10e1 100644 (file)
@@ -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");