diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-05 02:09:58 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-05 02:09:58 +0100 |
commit | 45f9258c7fc11e145b5197a076bedf935ace9249 (patch) | |
tree | 728decff25091a70bb7fe963d828910bdb8ad2ed /lib/fmt.c | |
parent | 62d27d872769ebcd79a931fa07b1128576e65e65 (diff) |
errno: replace EIO with ENOENT
Diffstat (limited to 'lib/fmt.c')
-rw-r--r-- | lib/fmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -409,7 +409,7 @@ fmt_sprintf_state_consume(struct fmt_sprintf_state *state) c = fmt_consume(&state->format); if (c == '\0') { - return EIO; + return ENOENT; } if (c != '%') { @@ -1091,7 +1091,7 @@ fmt_sscanf_state_consume(struct fmt_sscanf_state *state) c = fmt_consume(&state->format); if (c == '\0') { - return EIO; + return ENOENT; } if (c != '%') { |