summary refs log tree commit diff
path: root/src/nix-env/nix-env.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24 13:24:27 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24 13:24:27 +0000
commitfefd467539683e45e3682a54cefc67ead33eb346 (patch)
treef6c194c370f6b9926a85169b90f7d4bb5af4057f /src/nix-env/nix-env.cc
parent21b134b4e5d150690bc56ede1da3790705d637aa (diff)
downloadguix-fefd467539683e45e3682a54cefc67ead33eb346.tar.gz
* `helpText' is now zero-terminated.
Diffstat (limited to 'src/nix-env/nix-env.cc')
-rw-r--r--src/nix-env/nix-env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc
index 35caf687bf..d11be38084 100644
--- a/src/nix-env/nix-env.cc
+++ b/src/nix-env/nix-env.cc
@@ -70,7 +70,7 @@ typedef void (* Operation) (Globals & globals,
 
 void printHelp()
 {
-    cout << string((char *) helpText, sizeof helpText);
+    cout << string((char *) helpText);
 }