From 5e8084cc925269884429316e83f388933ddfb390 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Sun, 31 Aug 2003 03:46:36 +0000 Subject: [PATCH] Proper error code for exit() is 1, not -1. But it's better to use the macro EXIT_FAILURE. Doing so now. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1157 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/sound/sound_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/sound/sound_common.c b/sc2/src/sc2code/libs/sound/sound_common.c index 77b765d3f..0bb54962e 100644 --- a/sc2/src/sc2code/libs/sound/sound_common.c +++ b/sc2/src/sc2code/libs/sound/sound_common.c @@ -130,7 +130,7 @@ TFB_InitSound (int driver, int flags) "This may happen when a soundcard is " "not present or not available.\n" "NOTICE: Try running UQM with '--sound=none' option\n"); - exit (-1); + exit (EXIT_FAILURE); } return ret;