mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
f86bba3059
commit
08ecddf5ca
@ -2066,7 +2066,12 @@ int Libc::Vfs_plugin::fcntl(File_descriptor *fd, int cmd, long arg)
|
||||
break;
|
||||
}
|
||||
|
||||
error("fcntl(): command ", Hex(cmd), " not supported - vfs");
|
||||
/* limit the amount of repeating error messages in the log */
|
||||
static int previous_unsupported_command = -1;
|
||||
if (cmd != previous_unsupported_command) {
|
||||
previous_unsupported_command = cmd;
|
||||
error("fcntl(): command ", Hex(cmd), " not supported - vfs");
|
||||
}
|
||||
return Errno(EINVAL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user