libc: print unknown fcntl command in hex

This skimps the manual conversion step and eases diagnostic
operations.

Issue #5167.
This commit is contained in:
Josef Söntgen 2024-04-04 13:59:47 +02:00 committed by Christian Helmuth
parent 49548fea07
commit 24d0c18193

View File

@ -2066,7 +2066,7 @@ int Libc::Vfs_plugin::fcntl(File_descriptor *fd, int cmd, long arg)
break;
}
error("fcntl(): command ", cmd, " not supported - vfs");
error("fcntl(): command ", Hex(cmd), " not supported - vfs");
return Errno(EINVAL);
}