summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2017-11-12 17:10:13 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:39 +0200
commit55543377fc4a53a1290078f8373dc2d5f0a19d07 (patch)
treea236abd6397dff487d518a783a5e418e1aadc0ff
parent632309b2899b5e67d5c9224e9700db48ef0ed2ed (diff)
xdm -> xenodm in log and error messages
-rw-r--r--xenodm/error.c4
-rw-r--r--xenodm/session.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/xenodm/error.c b/xenodm/error.c
index f41d09a..e373252 100644
--- a/xenodm/error.c
+++ b/xenodm/error.c
@@ -65,7 +65,7 @@ LogVWrite(const char *fmt, va_list args)
} while(0)
#define LogHeader(type) \
- LogAppend("xdm %s (pid %ld): ", type, (long)getpid())
+ LogAppend("xenodm %s (pid %ld): ", type, (long)getpid())
/* Append more text to the log without a new header, right after
having called LogInfo or LogError */
@@ -100,7 +100,7 @@ LogPanic (const char * fmt, ...)
void
LogOutOfMem (const char *function)
{
- fputs("xdm: out of memory in routine ", stderr);
+ fputs("xenodm: out of memory in routine ", stderr);
fputs(function, stderr);
fputc('\n', stderr);
fflush (stderr);
diff --git a/xenodm/session.c b/xenodm/session.c
index ca19a89..d0c8340 100644
--- a/xenodm/session.c
+++ b/xenodm/session.c
@@ -100,7 +100,7 @@ AbortClient (pid_t pid)
if (killpg (pid, sig) == -1) {
switch (errno) {
case EPERM:
- LogError ("xdm can't kill client\n");
+ LogError ("xenodm can't kill client\n");
case EINVAL:
case ESRCH:
goto done;