about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-19T19·46+0100
committerEelco Dolstra <edolstra@gmail.com>2018-02-19T19·46+0100
commitd4e93532e2695fa7204937a96573b686a3b1a1ea (patch)
tree7bf3927575ba3c00ad68c5bbc3dc22f3a39f7378 /src/libstore/build.cc
parentd7fdfe322b81f4b8578e55d95978484ec84cc46c (diff)
Fix incorrect (and unnecessary) format string
https://hydra.nixos.org/eval/1434547#tabs-now-fail
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 30f22833fa70..1d611ffbaba5 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
 }