]> git.saurik.com Git - apple/libc.git/blobdiff - compat-43/FreeBSD/gethostid.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / compat-43 / FreeBSD / gethostid.c.patch
diff --git a/compat-43/FreeBSD/gethostid.c.patch b/compat-43/FreeBSD/gethostid.c.patch
new file mode 100644 (file)
index 0000000..29aa613
--- /dev/null
@@ -0,0 +1,11 @@
+--- gethostid.c.orig   2011-02-15 16:30:07.000000000 -0800
++++ gethostid.c        2011-02-18 12:19:33.000000000 -0800
+@@ -43,7 +43,7 @@ gethostid(void)
+ {
+       int mib[2];
+       size_t size;
+-      long value;
++      int value;
+       mib[0] = CTL_KERN;
+       mib[1] = KERN_HOSTID;