diff options
author | roland <roland> | 2005-08-25 22:49:21 +0000 |
---|---|---|
committer | roland <roland> | 2005-08-25 22:49:21 +0000 |
commit | 264ec52e8ecaebb2450d7695c774e2377c711d66 (patch) | |
tree | bed7ecabe235214db4ad32cbbc54e224912041a7 | |
parent | af4cc7a620b56f0bdd759227062a865ff847d6fb (diff) | |
download | systemtap-steved-264ec52e8ecaebb2450d7695c774e2377c711d66.tar.gz systemtap-steved-264ec52e8ecaebb2450d7695c774e2377c711d66.tar.xz systemtap-steved-264ec52e8ecaebb2450d7695c774e2377c711d66.zip |
(deref_string): terminate
-rw-r--r-- | runtime/loc2c-runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h index 91b5a0c5..4177b8a2 100644 --- a/runtime/loc2c-runtime.h +++ b/runtime/loc2c-runtime.h @@ -182,5 +182,6 @@ _len > 1 && (_c = deref (1, _addr)) != '\0'; \ --_len, ++_addr) \ *_d++ = _c; \ + *_d = '\0'; \ (dst); \ }) |