flush
[m6w6/ext-psi] / psi.d / uname.psi
index c79cc8e8cb0aab1b4bf705f20f7f143d12624042..b7aed9652e7e26dbad3f4201465017165166e236 100644 (file)
@@ -1,5 +1,5 @@
 function psi\uname(array &$u = NULL) : int {
-       let name = calloc(1, struct utsname);
+       let name = calloc(1, psi\SIZEOF_STRUCT_UTSNAME);
        return to_int(uname);
        set $u = to_array(*name,
                to_string(sysname),
@@ -8,4 +8,4 @@ function psi\uname(array &$u = NULL) : int {
                to_string(version), 
                to_string(machine),
                to_string(domainname));
-}
\ No newline at end of file
+}