diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-21 16:26:28 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-21 16:26:28 +0200 |
commit | f1d03e76ef1a192002f226c747fa2003c2e96f0b (patch) | |
tree | dd64cb4dd6fd3014ab0f277c62ad285d4f5958f0 | |
parent | 1bcc2bd1e450708b878e2a28f75d8b543b26d518 (diff) | |
download | pingu-f1d03e76ef1a192002f226c747fa2003c2e96f0b.tar.bz2 pingu-f1d03e76ef1a192002f226c747fa2003c2e96f0b.tar.xz |
pingu_host: end status dump with a '\n' instead of '\0'
-rw-r--r-- | pingu_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pingu_host.c b/pingu_host.c index 5146f51..a86007f 100644 --- a/pingu_host.c +++ b/pingu_host.c @@ -119,7 +119,7 @@ void pingu_host_dump_status(int fd) snprintf(buf, sizeof(buf), "%s: %i\n", host->label, host->status); write(fd, buf, strlen(buf)); } - write(fd, "", 1); + write(fd, "\n", 1); } int pingu_host_init(struct ev_loop *loop) |