lib: make igt_debugfs_open infallible

(Almost) no one cared anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-12 19:00:48 +01:00
parent 096bb851f6
commit 803d07b2ff
3 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ typedef struct {
char dri_path[128];
} igt_debugfs_t;
int igt_debugfs_init(igt_debugfs_t *debugfs);
void igt_debugfs_init(igt_debugfs_t *debugfs);
int igt_debugfs_open(igt_debugfs_t *debugfs, const char *filename, int mode);
FILE *igt_debugfs_fopen(igt_debugfs_t *debugfs, const char *filename,
const char *mode);