mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-14 08:25:37 +00:00
tools: fix syscall mknod()
b792e8df81
introduced a bug that can cause this: Undefined subroutine &PVE::Syscall::SYS_mknod called at /usr/share/perl5/PVE/Syscall.pm line 11 It should be mknod, not SYS_mknod. This caused other pve perl lib failing to build. I couldn't reproduce this on amd64 build, but I could reproduce this on arm64 build; however this didn't seem to fix the issue, unless I revertb792e8df81
. cf:b792e8df81
Signed-off-by: Jing Luo <jing@jing.rocks>
This commit is contained in:
parent
1a6005ad23
commit
6dc7a73bd5
@ -1753,7 +1753,7 @@ sub mkdirat($$$) {
|
||||
|
||||
sub mknod($$$) {
|
||||
my ($filename, $mode, $dev) = @_;
|
||||
return syscall(PVE::Syscall::SYS_mknod, $filename, int($mode), int($dev)) == 0;
|
||||
return syscall(PVE::Syscall::mknod, $filename, int($mode), int($dev)) == 0;
|
||||
}
|
||||
|
||||
sub fchownat($$$$$) {
|
||||
|
Loading…
Reference in New Issue
Block a user