From 1c28b0cce14138af9a1acd5b525ecae50fb1f399 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 12 Oct 2004 04:49:56 +0000 Subject: [PATCH] Correct a typo in one message, and change "WARNING" to "ERROR" in another, since it's a fatal error. svn path=/icecast/trunk/icecast/; revision=7983 --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index e9efdf65..dbd2b859 100644 --- a/src/main.c +++ b/src/main.c @@ -406,7 +406,7 @@ int main(int argc, char **argv) _fatal_error(pbuf); switch (ret) { case CONFIG_EINSANE: - _fatal_error("filename was null of blank"); + _fatal_error("filename was null or blank"); break; case CONFIG_ENOROOT: _fatal_error("no root element found"); @@ -446,7 +446,7 @@ int main(int argc, char **argv) * assume */ if(!getuid()) /* Running as root! Don't allow this */ { - fprintf(stderr, "WARNING: You should not run icecast2 as root\n"); + fprintf(stderr, "ERROR: You should not run icecast2 as root\n"); fprintf(stderr, "Use the changeowner directive in the config file\n"); _shutdown_subsystems(); return 1;