summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-11-14 09:21:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-14 09:21:24 +0100
commit9c62c6b227bd98f6d26610ce0461124518731d0f (patch)
tree1d27f6d16b88492303ddabe585750fc9487fa795 /runtime/msg.c
parent0aa6afbc501611e2e0d0453b15e901344dfa6157 (diff)
downloadrsyslog-9c62c6b227bd98f6d26610ce0461124518731d0f.tar.gz
rsyslog-9c62c6b227bd98f6d26610ce0461124518731d0f.tar.bz2
rsyslog-9c62c6b227bd98f6d26610ce0461124518731d0f.zip
bugfix: make rsyslog compile on kfreebsd again
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=380
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index 1318de22..b627cd59 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -2883,8 +2883,8 @@ uchar *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe,
*pbMustBeFreed = 0;
break;
case PROP_SYS_UPTIME:
-# ifdef OS_SOLARIS
- pRes = (uchar*) "UPTIME NOT available under Solaris";
+# ifndef HAVE_SYSINFO
+ pRes = (uchar*) "UPTIME NOT available on this system";
*pbMustBeFreed = 0;
# else
{