about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index cb697df5012a..6efb294e8389 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1794,7 +1794,7 @@ void DerivationGoal::startBuilder()
                      semaphores).  It also ensures that all IPC
                      objects are destroyed when the builder exits. */
                 if (unshare(CLONE_NEWNS | CLONE_NEWNET | CLONE_NEWIPC) == -1)
-                    throw SysError("cannot set up a private mount namespace");
+                    throw SysError("cannot set up private namespaces");
 
                 /* Initialise the loopback interface. */
                 AutoCloseFD fd(socket(PF_INET, SOCK_DGRAM, IPPROTO_IP));