Skip to content

Commit 352145e

Browse files
author
root
committed
fix warning from spdk
1 parent 4c62c62 commit 352145e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/cpuset.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
struct spdk_cpuset *
1010
spdk_cpuset_alloc(void)
1111
{
12-
return (struct spdk_cpuset *)calloc(sizeof(struct spdk_cpuset), 1);
12+
return (struct spdk_cpuset *)calloc(1, sizeof(struct spdk_cpuset));
1313
}
1414

1515
void

0 commit comments

Comments
 (0)