X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/96837c792131679ab97dee48b9e879ea2d2f74c3..5cb80fe1822bb0f49a4a1754424ebdd77503e284:/aseg-paging/smi.c diff --git a/aseg-paging/smi.c b/aseg-paging/smi.c index 031797d..7f75a85 100644 --- a/aseg-paging/smi.c +++ b/aseg-paging/smi.c @@ -28,8 +28,11 @@ void smi_entry(void) fb->getvmode(fb->priv); counter++; - sprintf(statstr, "NetWatch! %08x %08x", smi_status(), counter); - strblit(statstr, 0, 0, 0); + if (!fb || fb->curmode.text) + { + sprintf(statstr, "NetWatch! %08x %08x", smi_status(), counter); + strblit(statstr, 0, 0, 0); + } eth_poll();