aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/os/log.c')
-rw-r--r--nx-X11/programs/Xserver/os/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/os/log.c b/nx-X11/programs/Xserver/os/log.c
index 04e24b8df..1b28bb141 100644
--- a/nx-X11/programs/Xserver/os/log.c
+++ b/nx-X11/programs/Xserver/os/log.c
@@ -692,9 +692,9 @@ Error(char *str)
return;
sprintf(err, "%s: ", str);
strcat(err, strerror(saveErrno));
- LogWrite(-1, err);
+ LogWrite(-1, "%s", err);
} else
- LogWrite(-1, strerror(saveErrno));
+ LogWrite(-1, "%s", strerror(saveErrno));
}
void