From 7220a46c6aa57b03a352e22360c15593a3a0d0b0 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 26 Jan 2016 11:58:19 +0100 Subject: [PATCH] fix to_array statment --- psi.d/time.psi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psi.d/time.psi b/psi.d/time.psi index 13959da..30f713b 100644 --- a/psi.d/time.psi +++ b/psi.d/time.psi @@ -77,7 +77,7 @@ function psi\nanosleep(array $rq = NULL, array &$rm = NULL) : int { function psi\times(array &$tms = NULL) : int { let buf = calloc(1, psi\SIZEOF_STRUCT_TMS); return to_int(times); - set $tms = to_array(buf, + set $tms = to_array(*buf, to_int(tms_utime), to_int(tms_stime), to_int(tms_cutime), -- 2.30.2