Fix incorrect variable name

This commit is contained in:
Jeremy Soller
2018-12-29 10:03:11 -07:00
parent e7896f6c48
commit 62b83190bf
+1 -1
View File
@@ -425,7 +425,7 @@ pub unsafe extern "C" fn fread(
nitems: size_t,
stream: *mut FILE,
) -> size_t {
if size == 0 || count == 0 {
if size == 0 || nitems == 0 {
return 0;
}