fix calloc usage

SVN revision: 54841
This commit is contained in:
Mike Blumenkrantz 2010-11-22 23:04:45 +00:00
parent 999737f657
commit a5157e4a03
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ eeze_udev_watch_add(Eeze_Udev_Type type, int event,
Eeze_Udev_Watch *watch = NULL;
struct _store_data *store = NULL;
if (!(store = calloc(sizeof(struct _store_data), 1)))
if (!(store = calloc(1, sizeof(struct _store_data))))
return NULL;
if (!(watch = malloc(sizeof(Eeze_Udev_Watch))))