diff --git a/src/nix/run.cc b/src/nix/run.cc
index 2fc93a05c5126ec352c0a7c3741bb2c03b7d9ff7..fcde540fc2d27b56cf25d0b912df43651b8b639a 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -202,6 +202,6 @@ void chrootHelper(int argc, char * * argv)
     throw SysError("unable to exec '%s'", cmd);
 
 #else
-    throw Error("mounting the Nix store on '%s' is not supported on this platform", >storeDir);
+    throw Error("mounting the Nix store on '%s' is not supported on this platform", storeDir);
 #endif
 }