add missing argument for calloc

This commit is contained in:
Yuichi Nishiwaki
2013-10-10 16:18:03 +09:00
parent 556d35db5b
commit bb4131799d
+1 -1
View File
@@ -7,7 +7,7 @@ pic_open()
{
pic_state *pic;
pic = (pic_state *)calloc(sizeof(pic_state));
pic = (pic_state *)calloc(1, sizeof(pic_state));
return pic;
}