Fix incorrect (and unnecessary) format string

https://hydra.nixos.org/eval/1434547#tabs-now-fail
This commit is contained in:
Eelco Dolstra 2018-02-19 20:46:39 +01:00
parent d7fdfe322b
commit d4e93532e2
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -2520,9 +2520,9 @@ void setupSeccomp()
if (seccomp_load(ctx) != 0)
throw SysError("unable to load seccomp BPF program");
#else
throw Error("%s\n%s",
"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!");
throw Error(
"seccomp is not supported on this platform; "
"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
}