diff options
Diffstat (limited to 'src/internal/slibtool_readlink_impl.h')
-rw-r--r-- | src/internal/slibtool_readlink_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/slibtool_readlink_impl.h b/src/internal/slibtool_readlink_impl.h index f66e10b..c511147 100644 --- a/src/internal/slibtool_readlink_impl.h +++ b/src/internal/slibtool_readlink_impl.h @@ -18,7 +18,7 @@ static inline int slbt_readlink( else if (ret == bufsize) return -1; else { - buf[ret] = '\0'; + buf[ret] = 0; return 0; } } |