summaryrefslogtreecommitdiff
path: root/Documentation/ia64/aliasing-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ia64/aliasing-test.c')
-rw-r--r--Documentation/ia64/aliasing-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/ia64/aliasing-test.c b/Documentation/ia64/aliasing-test.c
index 5caa2af33207..62a190d45f38 100644
--- a/Documentation/ia64/aliasing-test.c
+++ b/Documentation/ia64/aliasing-test.c
@@ -132,6 +132,7 @@ static int read_rom(char *path)
rc = write(fd, "1", 2);
if (rc <= 0) {
+ close(fd);
perror("write");
return -1;
}