git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
backup: Don't cast returns from malloc()
[openafs.git]
/
src
/
butm
/
file_tm.c
diff --git
a/src/butm/file_tm.c
b/src/butm/file_tm.c
index
21119a2
..
73f7adc
100644
(file)
--- a/
src/butm/file_tm.c
+++ b/
src/butm/file_tm.c
@@
-1052,7
+1052,7
@@
file_Mount(struct butm_tapeInfo *info, char *tape)
(void)PrepareAccess(fid); /* for NT */
- p = (struct progress *)malloc(sizeof(*p));
+ p = malloc(sizeof(*p));
info->tmRock = (char *)p;
p->fid = fid;
p->mountId = config.mountId = time(0);