diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24T13·24+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24T13·24+0000 |
commit | fefd467539683e45e3682a54cefc67ead33eb346 (patch) | |
tree | f6c194c370f6b9926a85169b90f7d4bb5af4057f /src/nix-instantiate | |
parent | 21b134b4e5d150690bc56ede1da3790705d637aa (diff) |
* `helpText' is now zero-terminated.
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index 3822de5c6289..22df2fbe5db3 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -19,7 +19,7 @@ using namespace nix; void printHelp() { - std::cout << string((char *) helpText, sizeof helpText); + std::cout << string((char *) helpText); } |