aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-22 22:10:43 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-22 22:10:43 +0200
commit0714b773d7f4853fb2ba95a7b36d0230bad81dc9 (patch)
tree906a1bfea03bf5bf7311a4c04b7be94d0deed7f8 /io.c
parentc7f51459f7da3e0c693f8a950726869d99e5bcf2 (diff)
downloadegawk-0714b773d7f4853fb2ba95a7b36d0230bad81dc9.tar.gz
egawk-0714b773d7f4853fb2ba95a7b36d0230bad81dc9.tar.bz2
egawk-0714b773d7f4853fb2ba95a7b36d0230bad81dc9.zip
Minor edits.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 25f32e21..920d21f7 100644
--- a/io.c
+++ b/io.c
@@ -3378,7 +3378,7 @@ get_read_timeout(IOBUF *iop)
if (full_idx == NULL || strcmp(name, last_name) != 0) {
val = in_PROCINFO(name, "READ_TIMEOUT", & full_idx);
if (last_name != NULL)
- efree(last_name);
+ efree((void *) last_name);
last_name = estrdup(name, strlen(name));
} else /* use cached full index */
val = in_array(PROCINFO_node, full_idx);