diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-02-19 20:46:39 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-02-19 20:46:39 +0100 |
commit | d4e93532e2695fa7204937a96573b686a3b1a1ea (patch) | |
tree | 7bf3927575ba3c00ad68c5bbc3dc22f3a39f7378 /src | |
parent | d7fdfe322b81f4b8578e55d95978484ec84cc46c (diff) |
Fix incorrect (and unnecessary) format string
https://hydra.nixos.org/eval/1434547#tabs-now-fail
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 30f22833f..1d611ffba 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -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 } |