[systemd-commits] src/udev
Kay Sievers
kay at kemper.freedesktop.org
Mon Jun 24 03:41:39 PDT 2013
src/udev/udev-rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9c3fd04e7d8c469d8902b43607de5134d9528618
Author: Jan Janssen <medhefgo at web.de>
Date: Sat Jun 22 15:34:01 2013 +0200
libudev: Use correct type for sizeof
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 7a4fb70..fe65e2d 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);
More information about the systemd-commits
mailing list