summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2013-06-22 13:34:01 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-06-26 14:04:18 -0400
commitb61630e3cfb9b604bf3c12c31ee7f48bbcc37f64 (patch)
tree69a29e3fd3869fd89b80076e77cd78f35211c3bf /src/udev
parentff93c898bcf0380ff5e2e3ffd76edda406cee0a9 (diff)
libudev: Use correct type for sizeof
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 863474ac88..9844b8a80a 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1619,7 +1619,7 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names)
}
strv_uniq(rules->dirs);
- rules->dirs_ts_usec = calloc(strv_length(rules->dirs), sizeof(long long));
+ rules->dirs_ts_usec = calloc(strv_length(rules->dirs), sizeof(usec_t));
if(!rules->dirs_ts_usec)
return udev_rules_unref(rules);
udev_rules_check_timestamp(rules);