test: close fd_stylus after usage Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Bastien Nocera <hadess@hadess.net>
Peter Hutterer
11 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
test/dbverify.c
less
more
158
158
fd_stylus = open(path, O_WRONLY|O_CREAT, S_IRWXU);
159
159
assert(fd_stylus >= 0);
160
160
libwacom_print_stylus_description(fd_stylus, stylus);
161
close(fd_stylus);
161
162
}
162
163
}
163
164