aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console/daemon
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-11 10:08:31 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-03-11 10:08:31 +0000
commit5a039efe118ed8aa338bf02b5d88c1dcae9534b3 (patch)
tree0acf24fff42a417c3da76ea8d689be947a1e2a70 /tools/console/daemon
parent408cf363fa1cdb6cdd3e0513b86f8e81022c3e07 (diff)
downloadxen-5a039efe118ed8aa338bf02b5d88c1dcae9534b3.tar.gz
xen-5a039efe118ed8aa338bf02b5d88c1dcae9534b3.tar.bz2
xen-5a039efe118ed8aa338bf02b5d88c1dcae9534b3.zip
xenconsole: Compile fixes for console code on Solaris
Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/console/daemon')
-rw-r--r--tools/console/daemon/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/console/daemon/main.c b/tools/console/daemon/main.c
index c1529d0ac2..60faa4bb2a 100644
--- a/tools/console/daemon/main.c
+++ b/tools/console/daemon/main.c
@@ -86,7 +86,9 @@ int main(int argc, char **argv)
version(argv[0]);
exit(0);
case 'v':
+#ifndef __sun__
syslog_option |= LOG_PERROR;
+#endif
syslog_mask = LOG_DEBUG;
break;
case 'i':