diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-14 14:53:10 +0100 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-08-13 14:10:00 +0200 |
commit | 1279a83103262950ab99e8a6fe3c6cc2da8d42a8 (patch) | |
tree | 66a9992fed3b37c8c8d5ef43fb471ec4f5eea33c | |
parent | d33cf3f4c3a92f895e8b52fc19ed8a88f350a32b (diff) |
sysdep/unix/main.c: Remove trailing spaces
-rw-r--r-- | sysdep/unix/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 2251d3fb..ea1476e7 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -132,7 +132,7 @@ read_iproute_table(char *file, char *prefix, int max) if (*p == '#' || *p == '\n' || *p == 0) continue; - + if (sscanf(p, "0x%x %s\n", &val, name) != 2 && sscanf(p, "0x%x %s #", &val, name) != 2 && sscanf(p, "%d %s\n", &val, name) != 2 && @@ -522,7 +522,7 @@ write_pid_file(void) rv = ftruncate(pid_fd, 0); if (rv < 0) die("fruncate: %m"); - + rv = write(pid_fd, ps, pl); if(rv < 0) die("write: %m"); |