mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
libc_noux: fix 'lseek()' error message
Print 'lseek: ERR_FD_INVALID' instead of 'dirent: ERR_FD_INVALID'. Fixes #370.
This commit is contained in:
parent
d4499cba41
commit
1497d5e48f
@ -1152,7 +1152,7 @@ namespace {
|
||||
|
||||
case Noux::Sysio::ERR_FD_INVALID:
|
||||
errno = EBADF;
|
||||
PERR("dirent: ERR_FD_INVALID");
|
||||
PERR("lseek: ERR_FD_INVALID");
|
||||
return -1;
|
||||
|
||||
case Noux::Sysio::NUM_GENERAL_ERRORS: return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user