git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't cast the return from calloc()
[openafs.git]
/
src
/
vfsck
/
utilities.c
diff --git
a/src/vfsck/utilities.c
b/src/vfsck/utilities.c
index
1249bcb
..
19f6dc5
100644
(file)
--- a/
src/vfsck/utilities.c
+++ b/
src/vfsck/utilities.c
@@
-936,7
+936,7
@@
hasvfsopt(vfs, opt)
if (vfs->vfs_mntopts == NULL)
return (NULL);
if (tmpopts == 0) {
- tmpopts = (char *)calloc(256, sizeof(char));
+ tmpopts = calloc(256, sizeof(char));
if (tmpopts == 0)
return (0);
}