X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Funame.psi;h=ae0dd600fe87e0cc73046c3e42a2beaaa5977fdd;hp=b7aed9652e7e26dbad3f4201465017165166e236;hb=b78637d9020222f1032349f231c0dc84a69797bc;hpb=440ff658995f1378fd74c0101ff6c2b4951ffdf9 diff --git a/psi.d/uname.psi b/psi.d/uname.psi index b7aed96..ae0dd60 100644 --- a/psi.d/uname.psi +++ b/psi.d/uname.psi @@ -1,6 +1,6 @@ function psi\uname(array &$u = NULL) : int { let name = calloc(1, psi\SIZEOF_STRUCT_UTSNAME); - return to_int(uname); + return uname(name) as to_int(uname); set $u = to_array(*name, to_string(sysname), to_string(nodename),