939a313afe
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24773 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
390 B
Diff
12 lines
390 B
Diff
--- a/ext/posix/posix.c
|
|
+++ b/ext/posix/posix.c
|
|
@@ -541,7 +541,7 @@ PHP_FUNCTION(posix_uname)
|
|
add_assoc_string(return_value, "version", u.version, 1);
|
|
add_assoc_string(return_value, "machine", u.machine, 1);
|
|
#ifdef _GNU_SOURCE
|
|
- add_assoc_string(return_value, "domainname", u.domainname, 1);
|
|
+ add_assoc_string(return_value, "domainname", u.__domainname, 1);
|
|
#endif
|
|
}
|
|
/* }}} */
|