* fhandler_disk_file.cc (fhandler_disk_file::utimes): Don't set errno

if open fails, it has already been set by open.
This commit is contained in:
Corinna Vinschen
2005-04-13 11:07:44 +00:00
parent 353d0a275c
commit 726fe41807
2 changed files with 7 additions and 4 deletions

View File

@ -841,7 +841,6 @@ fhandler_disk_file::utimes (const struct timeval *tvp)
if (!open (O_WRONLY | O_BINARY, 0))
{
syscall_printf ("Opening file failed");
__seterrno ();
return -1;
}
}