Use tvhlog() instead of fprintf(stderr, ...) for dvr storage warning.
This commit is contained in:
parent
c5ed7ec683
commit
a7ec0e13c0
1 changed files with 5 additions and 8 deletions
|
@ -510,14 +510,11 @@ dvr_init(void)
|
|||
dvr_storage = strdup(getcwd(buf, sizeof(buf)));
|
||||
}
|
||||
|
||||
fprintf(stderr,
|
||||
"\nNotice: Digital Video Recorder\n");
|
||||
fprintf(stderr,
|
||||
" Output directory for video recording is not yet configured.\n");
|
||||
fprintf(stderr,
|
||||
" Defaulting to to \"%s\".\n", dvr_storage);
|
||||
fprintf(stderr,
|
||||
" This can be changed from the web user interface.\n");
|
||||
tvhlog(LOG_WARNING, "dvr",
|
||||
"Output directory for video recording is not yet configured. "
|
||||
"Defaulting to to \"%s\". "
|
||||
"This can be changed from the web user interface.",
|
||||
dvr_storage);
|
||||
}
|
||||
|
||||
dvr_db_load();
|
||||
|
|
Loading…
Add table
Reference in a new issue