summaryrefslogtreecommitdiff
path: root/libbb/safe_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/safe_write.c')
-rw-r--r--libbb/safe_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/safe_write.c b/libbb/safe_write.c
index dd35f35..0ac6c2d 100644
--- a/libbb/safe_write.c
+++ b/libbb/safe_write.c
@@ -26,7 +26,7 @@
-ssize_t safe_write(int fd, void *buf, size_t count)
+ssize_t safe_write(int fd, const void *buf, size_t count)
{
ssize_t n;