From ac41aec3481b496b13e829f17c2e4c316c047a96 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 14 Jul 2019 16:08:15 +0200 Subject: [PATCH] minor update for the genode target (cherry picked from commit fab70e4fe3b9e1fd20a333f17b667c7a85a835fb) --- lib/genode/alloc.nim | 2 +- lib/system.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/genode/alloc.nim b/lib/genode/alloc.nim index 52dc1c32cc..a21a3ad7bd 100644 --- a/lib/genode/alloc.nim +++ b/lib/genode/alloc.nim @@ -70,7 +70,7 @@ proc newMapSlab(): ptr MapSlab = iterator items(s: ptr MapSlab): ptr Map = let mapCount = (SlabBackendSize - sizeof(SlabMeta)) div sizeof(Map) - for i in 0 .. parent().exit(@); Genode::sleep_forever()", header: "".} proc quit*(errorcode: int = QuitSuccess) = - systemEnv.quit(errorCode) + systemEnv.quit(errorcode)