diff options
Diffstat (limited to 'lseek.c')
| -rw-r--r-- | lseek.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -64,7 +64,7 @@ liberror_lseek_failed(int fd, _liberror_off_t offset, int whence, const char *fn desc = ""; break; } - liberror_libc_set_error_one_file(desc, "sockatmark", "Seekable file", fd, fname); + liberror_libc_set_error_one_file(desc, "lseek", "Seekable file", fd, fname); errno = saved_errno; } @@ -80,11 +80,11 @@ liberror_lseek_short(int fd, _liberror_off_t offset, int whence, _liberror_uoff_ if (returned < 0 || (_liberror_uoff_t)returned < min) { desc = "Seek resulted in a new offset in an earlier position than expected"; } else if ((_liberror_uoff_t)returned > max) { - desc = "Seek resulted in a new offset in an beyond the expectation"; + desc = "Seek resulted in a new offset beyond expectations"; } else { desc = "Seek resulted in an unexpected new offset"; } - liberror_set_error(desc, "recv", "liberror-libc", LIBERROR_LIBC_ERRROR_SHORT_SEEK); + liberror_set_error(desc, "lseek", "liberror-libc", LIBERROR_LIBC_ERROR_SHORT_SEEK); error = liberror_get_error(); error->details_type = LIBERROR_DETAILS_ONE_FILE; error->details.one_file.fd = fd; |
