mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-11 20:01:48 +00:00
committed by
Christian Helmuth
parent
f86bba3059
commit
08ecddf5ca
@ -2066,7 +2066,12 @@ int Libc::Vfs_plugin::fcntl(File_descriptor *fd, int cmd, long arg)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 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");
|
error("fcntl(): command ", Hex(cmd), " not supported - vfs");
|
||||||
|
}
|
||||||
return Errno(EINVAL);
|
return Errno(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user