commit c52e622e9f89f44ea465dd96bf6f13a00bb0aca6
parent 531cb39c1fb922082dd22a846eb7474230a10da7
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 27 Feb 2011 10:53:36 +0100
Removing spurious spaces.
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arg.h b/arg.h
@@ -1,7 +1,7 @@
#ifndef ARG_H
#define ARG_H
-#define USED(x) ((void)(x))
+#define USED(x) ((void)(x))
extern char *argv0;
diff --git a/rfkilld.c b/rfkilld.c
@@ -29,7 +29,7 @@ int dolog = 0;
void
runifexecutable(char *file, char *oname, char *ostate)
{
- char cmd[512], name[64], state[16];
+ char cmd[512], name[64], state[16];
int pid;
strncpy(name, oname, sizeof(name));
@@ -148,11 +148,11 @@ main(int argc, char *argv[])
mon = udev_monitor_new_from_netlink(udev, "kernel");
udev_monitor_filter_add_match_subsystem_devtype(mon, "rfkill", NULL);
udev_monitor_enable_receiving(mon);
-
+
fds[0].fd = udev_monitor_get_fd(mon);
fds[0].events = POLLIN|POLLPRI;
while(running) {
- ret = poll(fds, 1, 500);
+ ret = poll(fds, 1, 500);
if (ret > 0) {
if ((fds[0].revents & POLLIN) \
|| (fds[0].revents & POLLPRI)) {