summaryrefslogtreecommitdiff
path: root/udevmonitor.c
diff options
context:
space:
mode:
authorKay Sievers <kay@pim.off.vrfy.org>2005-10-27 20:32:07 +0200
committerKay Sievers <kay@pim.off.vrfy.org>2005-10-27 20:32:07 +0200
commit916c5e4725ef4558b752c6464deef6492c8ac31a (patch)
tree1a6a9ef2c3ac07cd5d355246ca66035663c65425 /udevmonitor.c
parentcf686d37b42ed49df9209d6630fd3292c54c6bde (diff)
fix the new warnings I asked for
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevmonitor.c')
-rw-r--r--udevmonitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udevmonitor.c b/udevmonitor.c
index 33dff2a13c..382cbb1905 100644
--- a/udevmonitor.c
+++ b/udevmonitor.c
@@ -181,7 +181,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "error receiving uevent message\n");
continue;
}
- printf("UEVENT[%i] %s\n", time(NULL), buf);
+ printf("UEVENT[%llu] %s\n", (unsigned long long) time(NULL), buf);
}
if ((udev_monitor_sock > 0) && FD_ISSET(udev_monitor_sock, &readfds)) {
@@ -190,7 +190,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "error receiving udev message\n");
continue;
}
- printf("UDEV [%i] %s\n", time(NULL), buf);
+ printf("UDEV [%llu] %s\n", (unsigned long long) time(NULL), buf);
}
if (buflen == 0)