diff options
Diffstat (limited to 'userland/libc/stdio')
-rw-r--r-- | userland/libc/stdio/vfprintf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/userland/libc/stdio/vfprintf.c b/userland/libc/stdio/vfprintf.c index c3a8de7..65a2c27 100644 --- a/userland/libc/stdio/vfprintf.c +++ b/userland/libc/stdio/vfprintf.c @@ -93,9 +93,8 @@ int print_string(FILE *f, const char *s, int *rc, int prefix, int right_padding, break; bl--; } - int r; + int r = 0; FILE_WRITE(f, (const unsigned char *)s, 1, &r); - assert(r != 0); } if (right_padding) { assert(-1 == precision); // FIXME: Is this correct? |