diff options
author | Erik Andersen | 2000-01-09 06:49:08 +0000 |
---|---|---|
committer | Erik Andersen | 2000-01-09 06:49:08 +0000 |
commit | 9a9a261569df0c88038de48eb233890ca189e9c0 (patch) | |
tree | 4507d48158b954b221857c5b630a45c9a29a1480 /logger.c | |
parent | ac6e71f0c4150e9394b0a424e9d64750bcfacb85 (diff) | |
download | busybox-9a9a261569df0c88038de48eb233890ca189e9c0.zip busybox-9a9a261569df0c88038de48eb233890ca189e9c0.tar.gz |
Fix a logger bug.
-Erik
Diffstat (limited to 'logger.c')
-rw-r--r-- | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ extern int logger_main(int argc, char **argv) if (toStdErrFlag==TRUE) fprintf(stderr, "%s\n", buf); - write( fd, buf, sizeof(buf)); + write( fd, buf, strlen(buf)+1); close(fd); exit( TRUE); |