forked from lix-project/lix
Fix incorrect (and unnecessary) format string
https://hydra.nixos.org/eval/1434547#tabs-now-fail
This commit is contained in:
parent
d7fdfe322b
commit
d4e93532e2
|
@ -2520,9 +2520,9 @@ void setupSeccomp()
|
||||||
if (seccomp_load(ctx) != 0)
|
if (seccomp_load(ctx) != 0)
|
||||||
throw SysError("unable to load seccomp BPF program");
|
throw SysError("unable to load seccomp BPF program");
|
||||||
#else
|
#else
|
||||||
throw Error("%s\n%s",
|
throw Error(
|
||||||
"seccomp is not supported on this platform"
|
"seccomp is not supported on this platform; "
|
||||||
"you can avoid this by setting the filter-syscalls option to false, but note that untrusted builds can then create setuid binaries!");
|
"you can bypass this error by setting the option 'filter-syscalls' to false, but note that untrusted builds can then create setuid binaries!");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue