diff options
Diffstat (limited to 'kern/fmt.c')
-rw-r--r-- | kern/fmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -401,7 +401,7 @@ fmt_sprintf_state_consume(struct fmt_sprintf_state *state) c = fmt_consume(&state->format); if (c == '\0') { - return EIO; + return ENOENT; } if (c != '%') { @@ -1083,7 +1083,7 @@ fmt_sscanf_state_consume(struct fmt_sscanf_state *state) c = fmt_consume(&state->format); if (c == '\0') { - return EIO; + return ENOENT; } if (c != '%') { |