diff options
Diffstat (limited to 'ui/ncurses')
-rw-r--r-- | ui/ncurses/generic-main.c | 8 | ||||
-rw-r--r-- | ui/ncurses/ps3-main.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ui/ncurses/generic-main.c b/ui/ncurses/generic-main.c index 972490a..2d342c3 100644 --- a/ui/ncurses/generic-main.c +++ b/ui/ncurses/generic-main.c @@ -38,14 +38,14 @@ static void print_version(void) { - printf("pb-cui (" PACKAGE_NAME ") " PACKAGE_VERSION "\n"); + printf("petitboot-nc (" PACKAGE_NAME ") " PACKAGE_VERSION "\n"); } static void print_usage(void) { print_version(); printf( -"Usage: pb-cui [-h, --help] [-l, --log log-file] [-V, --version]\n"); +"Usage: petitboot-nc [-h, --help] [-l, --log log-file] [-V, --version]\n"); } /** @@ -78,7 +78,7 @@ static int opts_parse(struct opts *opts, int argc, char *argv[]) }; static const char short_options[] = "hl:V"; static const struct opts default_values = { - .log_file = "pb-cui.log", + .log_file = "/var/log/petitboot/petitboot-nc.log", }; *opts = default_values; @@ -255,7 +255,7 @@ int main(int argc, char *argv[]) pb_log_always_flush(1); #endif - pb_log("--- pb-cui ---\n"); + pb_log("--- petitboot-nc ---\n"); sa.sa_handler = sig_handler; result = sigaction(SIGALRM, &sa, NULL); diff --git a/ui/ncurses/ps3-main.c b/ui/ncurses/ps3-main.c index d9a66fa..890e47b 100644 --- a/ui/ncurses/ps3-main.c +++ b/ui/ncurses/ps3-main.c @@ -90,7 +90,7 @@ static int opts_parse(struct opts *opts, int argc, char *argv[]) }; static const char short_options[] = "hl:trV"; static const struct opts default_values = { - .log_file = "pb-cui.log", + .log_file = "/var/log/petitboot/petitboot-nc.log", }; *opts = default_values; |