Codebase list libwacom / ae4e4d2
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
158158 fd_stylus = open(path, O_WRONLY|O_CREAT, S_IRWXU);
159159 assert(fd_stylus >= 0);
160160 libwacom_print_stylus_description(fd_stylus, stylus);
161 close(fd_stylus);
161162 }
162163 }
163164