From c012d223a6b915f06ef32b8aaa52b984015d192e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 Jan 2003 20:05:56 +0000 Subject: [PATCH] 2003-01-10 Roland McGrath * strace.c (rebuild_pollv): Fix typo: struct poll -> struct pollfd. --- strace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0