X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Funame.psi;h=404399cfdf458ccb014d6ea4072d47ac9119dd29;hp=e5144da51026da4715322410c71a76c1c4ee4ec1;hb=c0873cbbe9e5a83305adbc2bbd94aede5437f33d;hpb=601e13c0743234c53a62e68fc89f122069123c15 diff --git a/psi.d/uname.psi b/psi.d/uname.psi index e5144da..404399c 100644 --- a/psi.d/uname.psi +++ b/psi.d/uname.psi @@ -1,7 +1,7 @@ #include function psi\uname(array &$u = NULL) : int { - let name = calloc(1, psi\SIZEOF_STRUCT_UTSNAME); + let name = calloc(1, sizeof(struct utsname)); return uname(name) as to_int(uname); set $u = to_array(*name, to_string(sysname),