libc_noux: fix 'lseek()' error message

Print 'lseek: ERR_FD_INVALID' instead of 'dirent: ERR_FD_INVALID'.

Fixes #370.
This commit is contained in:
Christian Prochaska 2012-09-26 14:27:05 +02:00 committed by Norman Feske
parent d4499cba41
commit 1497d5e48f

View File

@ -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;