summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2013-06-22 15:34:01 +0200
committerKay Sievers <kay@vrfy.org>2013-06-24 12:41:01 +0200
commit9c3fd04e7d8c469d8902b43607de5134d9528618 (patch)
tree5e3e3438b5049f72810e961366e5ec69baa5f90a
parent92fba83e3a23ce7778a1bde67d277fdc97ab39f9 (diff)
libudev: Use correct type for sizeof
-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 7a4fb70258..fe65e2dd85 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1614,7 +1614,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);