From ee9b8032529aba41de7d975aa5d403d7c434abfb Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 5 Jun 2014 21:01:30 -0700 Subject: [PATCH] tools.ps.macosx: fix for recent change to system-info.macosx. --- basis/tools/ps/macosx/macosx.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/tools/ps/macosx/macosx.factor b/basis/tools/ps/macosx/macosx.factor index f02e2152f3..e2bd4e2912 100644 --- a/basis/tools/ps/macosx/macosx.factor +++ b/basis/tools/ps/macosx/macosx.factor @@ -24,7 +24,7 @@ IN: tools.ps.macosx : hostname ( -- str ) { 1 10 } sysctl-query-string ; : sysctl-query-bytes ( seq -- n ) - [ make-int-array ] [ length ] bi f 0 uint + [ int >c-array ] [ length ] bi f 0 uint [ f 0 sysctl io-error ] keep uint deref ; STRUCT: _pcred