summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/ddebug/dd_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c
index a54cecb5f08..d3c4e7f5e9c 100644
--- a/src/gallium/drivers/ddebug/dd_draw.c
+++ b/src/gallium/drivers/ddebug/dd_draw.c
@@ -70,7 +70,7 @@ dd_dump_dmesg(FILE *f)
while (fgets(line, sizeof(line), p))
fputs(line, f);
- fclose(p);
+ pclose(p);
}
static void