aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-09-22 05:55:13 +1000
committerShenghou Ma <minux.ma@gmail.com>2012-09-22 05:55:13 +1000
commita0adc4882303244109612126fce3f2026dbad874 (patch)
tree6acf14686e41163f17caf45549de0e21358f4c02
parent4ba17d5097640caadbbe8df5663ce6d681359b49 (diff)
downloadgo-a0adc4882303244109612126fce3f2026dbad874.tar.gz
go-a0adc4882303244109612126fce3f2026dbad874.zip
[release-branch.go1] runtime: fix SI_USER for FreeBSD
««« backport 283f6087807b runtime: fix SI_USER for FreeBSD Ref: http://svnweb.freebsd.org/base/head/sys/sys/signal.h?revision=HEAD&view=markup R=golang-dev, devon.odell, r CC=golang-dev https://golang.org/cl/6490118 »»»
-rw-r--r--src/pkg/runtime/os_freebsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/os_freebsd.h b/src/pkg/runtime/os_freebsd.h
index 5e8de5434a..b440bfeec6 100644
--- a/src/pkg/runtime/os_freebsd.h
+++ b/src/pkg/runtime/os_freebsd.h
@@ -15,7 +15,7 @@ int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
void runtime·raisesigpipe(void);
#define NSIG 33
-#define SI_USER 0
+#define SI_USER 0x10001
#define RLIMIT_AS 10
typedef struct Rlimit Rlimit;