From d93e6dd86b67efeb633ce109d66a022d877e449c Mon Sep 17 00:00:00 2001 From: Rafal Wojtczuk Date: Tue, 29 Jun 2010 12:58:11 +0200 Subject: [PATCH] add syslog.h to qubes_restore.c --- dom0/restore/qubes_restore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom0/restore/qubes_restore.c b/dom0/restore/qubes_restore.c index f101f0f3..256292f5 100644 --- a/dom0/restore/qubes_restore.c +++ b/dom0/restore/qubes_restore.c @@ -9,6 +9,7 @@ #include #include #include +#include #include char xmlrpc_header[] = @@ -367,7 +368,7 @@ void redirect_stderr() int fd = open("/var/run/qubes/qubes_restore.log", O_CREAT | O_TRUNC | O_WRONLY, 0600); if (fd < 0) { - syslog(LOG_DAEMON | LOG_ERR, "open dvm.log"); + syslog(LOG_DAEMON | LOG_ERR, "open qubes_restore.log"); exit(1); } dup2(fd, 2);