X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=loader%2Fllibc.c;h=3a0205ffefd8894684c254bbe06a1fd68e6f7344;hb=f2a1fca9e81b773927c0b28dffaa6e2ee8a5956a;hp=484b52dc213b2a2a75c81f935ab109beffa54347;hpb=d0b9b0df7ed0dc36aabe30e2d584c27c8c32a3d9;p=ginge.git diff --git a/loader/llibc.c b/loader/llibc.c index 484b52d..3a0205f 100644 --- a/loader/llibc.c +++ b/loader/llibc.c @@ -165,7 +165,7 @@ void g_fprintf(int fd, const char *fmt, ...) zeropad = *s == '0'; justify = parse_dec(&s); - if (*s == 'l') + if (*s == 'l' || *s == 'z') s++; // ignore for now if (*s == 's') { char *ns = va_arg(ap, char *); @@ -199,10 +199,4 @@ void g_fprintf(int fd, const char *fmt, ...) g_write_raw(fd, buf, d - buf); } -void g_sleep(unsigned int seconds) -{ - struct timespec ts = { seconds, 0 }; - g_nanosleep_raw(&ts, NULL); -} - // vim:shiftwidth=2:expandtab