summaryrefslogtreecommitdiffstats
path: root/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'bar.c')
-rw-r--r--bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar.c b/bar.c
index e1e2857..67f5d6e 100644
--- a/bar.c
+++ b/bar.c
@@ -60,7 +60,7 @@ static int ass_puts(int fd, const char *str) {
size_t len = strlen(str);
while (len > 0) {
- ssize_t ret = write(fd, str, len);
+ ssize_t ret = safe_write(fd, str, len);
if (ret <= 0) {
return -1;
}