diff options
-rw-r--r-- | libvo/vo_3dfx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c index 47b1570f00..754a1f8f50 100644 --- a/libvo/vo_3dfx.c +++ b/libvo/vo_3dfx.c @@ -331,7 +331,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin if ( (fd = open("/dev/3dfx",O_RDWR) ) == -1) { printf("Couldn't open /dev/3dfx\n"); - exit(1); + return -1; } // Store sizes for later |