From: Roland McGrath Date: Fri, 10 Jan 2003 20:05:56 +0000 (+0000) Subject: 2003-01-10 Roland McGrath X-Git-Tag: v4.5.18~882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c012d223a6b915f06ef32b8aaa52b984015d192e;p=strace 2003-01-10 Roland McGrath * strace.c (rebuild_pollv): Fix typo: struct poll -> struct pollfd. --- diff --git a/strace.c b/strace.c index 2ffa3c60..1d5f2ccf 100644 --- a/strace.c +++ b/strace.c @@ -1346,7 +1346,7 @@ rebuild_pollv() if (pollv != NULL) free (pollv); - pollv = (struct poll *) malloc(nprocs * sizeof pollv[0]); + pollv = (struct pollfd *) malloc(nprocs * sizeof pollv[0]); if (pollv == NULL) { fprintf(stderr, "strace: out of memory for poll vector\n"); exit(1);