ref: cfc705b8669c330eb3ad4b6e37693ebcb6110508
parent: d56a6fadc5118e7fddba6294245a355ef2d3def9
author: cinap_lenrek <[email protected]>
date: Tue Nov 12 16:43:38 EST 2013
kernel: handle memimageinit() error
--- a/sys/src/9/pc/screen.c
+++ b/sys/src/9/pc/screen.c
@@ -48,7 +48,8 @@
nexterror();
}
- memimageinit();
+ if(memimageinit() < 0)
+ error("memimageinit failed");
lock(&vgascreenlock);
if(waserror()){