summaryrefslogtreecommitdiff
path: root/src/tinyproxy.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@opendns.com>2009-08-05 16:23:55 -0700
committerMichael Adam <obnox@samba.org>2009-08-06 07:33:20 +0200
commitb5089fecc7f125b6700b19ef71070a73917d9e4c (patch)
tree2fc7e853695d21c0b527d6b9da155daaadb545f3 /src/tinyproxy.c
parentf904831acdea3a03c536061173e16ba06281eddd (diff)
downloadtinyproxy-b5089fecc7f125b6700b19ef71070a73917d9e4c.tar.gz
tinyproxy-b5089fecc7f125b6700b19ef71070a73917d9e4c.zip
fix error message formatting
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/tinyproxy.c')
-rw-r--r--src/tinyproxy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tinyproxy.c b/src/tinyproxy.c
index 6d2987d..b5a214d 100644
--- a/src/tinyproxy.c
+++ b/src/tinyproxy.c
@@ -267,7 +267,7 @@ main (int argc, char **argv)
else
{
fprintf (stderr,
- "%s: Either define a logfile or enable syslog logging\n",
+ "%s: Either define a logfile or enable syslog logging.\n",
argv[0]);
exit (EX_SOFTWARE);
}
@@ -392,7 +392,7 @@ main (int argc, char **argv)
{
fprintf (stderr,
"%s: Unable to find "
- "user \"%s\".", argv[0], config.user);
+ "user \"%s\".\n", argv[0], config.user);
exit (EX_NOUSER);
}
uid = thisuser->pw_uid;
@@ -400,7 +400,7 @@ main (int argc, char **argv)
if (setuid (uid) < 0)
{
fprintf (stderr,
- "%s: Unable to change to user \"%s\".",
+ "%s: Unable to change to user \"%s\".\n",
argv[0], config.user);
exit (EX_CANTCREAT);
}
@@ -415,7 +415,7 @@ main (int argc, char **argv)
if (child_pool_create () < 0)
{
- fprintf (stderr, "%s: Could not create the pool of children.", argv[0]);
+ fprintf (stderr, "%s: Could not create the pool of children.\n", argv[0]);
exit (EX_SOFTWARE);
}