Skip to content

Commit

Permalink
Fix incorrect (and unnecessary) format string
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Feb 19, 2018
1 parent d7fdfe3 commit d4e9353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libstore/build.cc
Expand Up @@ -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
}
Expand Down

0 comments on commit d4e9353

Please sign in to comment.