repo.or.cz
/
minix-pkgsrc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixup fromcvs/togit conversion
[minix-pkgsrc.git]
/
audio
/
liveice
/
patches
/
patch-ai
blob
2a2e9226c09c098036f716b2e950be799b9d035e
1
$NetBSD$
2
3
--- mixer.c.orig Tue May 30 13:30:56 2000
4
+++ mixer.c
5
@@ -70,7 +70,7 @@
6
if(*new==NULL){
7
sprintf(mesg,"Adding New Channel %s",name);
8
write_message(mesg,0);
9
- *new=malloc(sizeof(channel));
10
+ *new=calloc(1, sizeof(channel));
11
strncpy((*new)->name,name,63);
12
(*new)->curnt=mixer.t_list;
13
(*new)->volume=1.0;