X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/96837c792131679ab97dee48b9e879ea2d2f74c3..d401e73e740bcf5e7d1b66aeae9839493a8c1686:/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();