*: code cleanup

This commit is contained in:
illiliti
2021-08-25 01:38:33 +03:00
parent 5f9186af41
commit 3d98bea289
5 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char
return NULL;
}
udev_monitor = calloc(1, sizeof(struct udev_monitor));
udev_monitor = calloc(1, sizeof(*udev_monitor));
if (!udev_monitor) {
return NULL;