diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-11-07 13:14:54 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-11-07 13:14:54 +0000 |
commit | f4051e4e1bc3a5a00fc74b5b5eb7eb3794f67310 (patch) | |
tree | f4637809620396e3dfb4dc7fd38f32039195eaeb /hcid/main.c | |
parent | 1f1e900f488c2925b8949911b30f363a1fb4dee0 (diff) |
Whitespace cleanup
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hcid/main.c b/hcid/main.c index 44a25160..cbb8c01c 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -296,8 +296,8 @@ void update_service_classes(const bdaddr_t *bdaddr, uint8_t value) close(sk); } -/* - * Device name expansion +/* + * Device name expansion * %d - device id */ static char *expand_name(char *dst, int size, char *str, int dev_id) @@ -358,7 +358,7 @@ static gboolean child_exit(GIOChannel *io, GIOCondition cond, void *user_data) { int status, fd = g_io_channel_unix_get_fd(io); pid_t child_pid; - + if (read(fd, &child_pid, sizeof(child_pid)) != sizeof(child_pid)) { error("child_exit: unable to read child pid from pipe"); return TRUE; |