From f4051e4e1bc3a5a00fc74b5b5eb7eb3794f67310 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 7 Nov 2007 13:14:54 +0000 Subject: Whitespace cleanup --- hcid/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hcid/main.c') 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; -- cgit