summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2021-01-03 09:52:10 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2021-08-30 19:50:49 +0200
commit9388949d22d8e14d4ce8ec8907da8393841e4a0b (patch)
tree5cd5db7f92697a55ef4095beedbceb897bd8f681
parent3b2a8318e9266905820635424e104ae3083b8ed5 (diff)
Fix function name in Debug() messages.
-rw-r--r--xenodm/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xenodm/session.c b/xenodm/session.c
index 048d695..6ba5179 100644
--- a/xenodm/session.c
+++ b/xenodm/session.c
@@ -309,7 +309,7 @@ StartClient (
exit(25);
if (vinfo->argv) {
- Debug ("StartSession %s: ", vinfo->argv[0]);
+ Debug("StartClient %s: ", vinfo->argv[0]);
for (f = vinfo->argv; *f; f++)
Debug ("%s ", *f);
Debug ("; ");
@@ -371,12 +371,12 @@ StartClient (
execute (failsafeArgv, vinfo->userEnviron);
exit (1);
case -1:
- Debug ("StartSession, fork failed\n");
+ Debug("StartClient, fork failed\n");
LogError ("can't start session on \"%s\", fork failed: %s\n",
d->name, _SysErrorMsg (errno));
return 0;
default:
- Debug ("StartSession, fork succeeded %d\n", pid);
+ Debug("StartClient, fork succeeded %d\n", pid);
*pidp = pid;
return 1;
}