summaryrefslogtreecommitdiff
path: root/udevmonitor.c
diff options
context:
space:
mode:
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)