diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-04-11 11:19:27 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-04-11 11:19:27 +0200 |
commit | 14b662590144571985897855f9973f16e386e0ce (patch) | |
tree | 1bd53b773f592dc583aff4635537a10a6f89fcaa /src/udev/udevadm-monitor.c | |
parent | cbe22206143a04f573e5cfbc8c839ddf2fd8c5dc (diff) | |
parent | 7236ce6e9e379948217c31f38b48de6448521162 (diff) |
Merge pull request #2996 from keszybz/coverity-fixes
Coverity fixes
Diffstat (limited to 'src/udev/udevadm-monitor.c')
-rw-r--r-- | src/udev/udevadm-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-monitor.c b/src/udev/udevadm-monitor.c index b5f7f0d512..c0ef073476 100644 --- a/src/udev/udevadm-monitor.c +++ b/src/udev/udevadm-monitor.c @@ -40,7 +40,7 @@ static void sig_handler(int signum) { static void print_device(struct udev_device *device, const char *source, int prop) { struct timespec ts; - clock_gettime(CLOCK_MONOTONIC, &ts); + assert_se(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n", source, ts.tv_sec, ts.tv_nsec/1000, |