summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-am
blob: a6ebc3eb83cfab76b945fca980dbb6c9770e5bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.14 2016/06/06 14:11:35 he Exp $

--- agent/mibgroup/host/hr_swrun.c.orig	2014-12-08 20:23:22.000000000 +0000
+++ agent/mibgroup/host/hr_swrun.c
@@ -1027,6 +1027,8 @@ var_hrswrun(struct variable * vp,
 	else
 	    long_return = 4;	/* application */
     #endif
+#elif defined darwin
+	long_return = -1;
 #else
 	long_return = 4;	/* application */
 #endif