]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
use stdio where appropriate
authorAntti Kantee <pooka@iki.fi>
Wed, 15 Apr 2015 09:13:54 +0000 (09:13 +0000)
committerAntti Kantee <pooka@iki.fi>
Wed, 15 Apr 2015 09:13:54 +0000 (09:13 +0000)
oh the irony, stdio used where it shouldn't be and not used where
it should be ...

platform/xen/lib/libc_stubs.c

index 641863c08d8edc258b8c7008c55de7d551c9cf1e..008af34a26eb064b55e03dfe5eede4a09bad684f 100644 (file)
@@ -1,13 +1,12 @@
-#include <mini-os/console.h>
-
 #include <errno.h>
+#include <stdio.h>
 
 #define STUB(name)                             \
   int name(void); int name(void) {             \
        static int done = 0;                    \
        errno = ENOTSUP;                        \
        if (done) return ENOTSUP; done = 1;     \
-       minios_printk("STUB ``%s'' called\n", #name);   \
+       printf("STUB ``%s'' called\n", #name);  \
        return ENOTSUP;}
 
 STUB(__sigaction14);