about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-06-23T04·57-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-06-23T04·57-0400
commit723a68c8262ec337e290e51265820ae90fe3ad18 (patch)
tree701e8c835088489918d8282e03356124380f52f3 /src/libstore
parent7ffa523fd15fcd9ab1a0ad85db860f467869946a (diff)
Improve error message
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));