summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_readlink_impl.h2
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;
}
}