]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Make vga-overlay output its log each time you write to it, so that if the machine...
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 5 Oct 2008 05:40:36 +0000 (01:40 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 5 Oct 2008 05:40:36 +0000 (01:40 -0400)
aseg/vga-overlay.c

index cfe6ac9de1186f9f7c44a4b1a7b0c6cfb6dba458..913ebc2f4479aabc9c86d25f61ea651866f61371 100644 (file)
@@ -75,6 +75,7 @@ void dolog(const char *s)
 {
        strcpy(logents[prodptr], s);
        prodptr = (prodptr + 1) % LOGLEN;
+       outlog();
 }
 void (*output)(const char *s) = dolog;
 
@@ -86,6 +87,7 @@ void dologf(const char *fmt, ...)
        vsnprintf(logents[prodptr], 40, fmt, va);
        va_end(va);
        prodptr = (prodptr + 1) % LOGLEN;
+       outlog();
 }
 void (*outputf)(const char *s, ...) = dologf;
 
This page took 0.024409 seconds and 4 git commands to generate.