]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/storage/nbd.c
tree-wide: pass unsigned long to prctl()
[mirror_lxc.git] / src / lxc / storage / nbd.c
index 9f92ecc9bab2aa4eb2c7531ff49ce312a2c0173b..771bd9e3ec72dc0957c83bf44892cb1702509b24 100644 (file)
@@ -209,7 +209,8 @@ static int do_attach_nbd(void *d)
                exit(1);
        }
 
-       if (prctl(PR_SET_PDEATHSIG, SIGHUP, 0, 0, 0) < 0)
+       if (prctl(PR_SET_PDEATHSIG, prctl_arg(SIGHUP), prctl_arg(0),
+                 prctl_arg(0), prctl_arg(0)) < 0)
                SYSERROR("Error setting parent death signal for nbd watcher");
 
        pid = fork();