aboutsummaryrefslogtreecommitdiff
path: root/src/survive.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-02-26 00:14:48 -0500
committercnlohr <lohr85@gmail.com>2017-02-26 00:14:48 -0500
commitf4ab8c084c1e23e850f436c2c0bb6777da3d942a (patch)
treee5b92a7f19ddb69320610aec46b1b6c8d05dcef0 /src/survive.c
parent55cedfc6a6b035d6eb54457782818fef61cae500 (diff)
parentfe31e600d890004f0f255a20fe056e0e8a54209b (diff)
downloadlibsurvive-f4ab8c084c1e23e850f436c2c0bb6777da3d942a.tar.gz
libsurvive-f4ab8c084c1e23e850f436c2c0bb6777da3d942a.tar.bz2
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'src/survive.c')
-rw-r--r--src/survive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/survive.c b/src/survive.c
index b472ccc..306dbe1 100644
--- a/src/survive.c
+++ b/src/survive.c
@@ -21,7 +21,7 @@ static void survivenote( struct SurviveContext * ctx, const char * fault )
}
-struct SurviveContext * survive_init()
+struct SurviveContext * survive_init( int headless )
{
int r = 0;
int i = 0;
@@ -36,6 +36,7 @@ struct SurviveContext * survive_init()
const char * DriverName;
while( ( DriverName = GetDriverNameMatching( "DriverReg", i++ ) ) )
+
{
DeviceDriver dd = GetDriver( DriverName );
printf( "Loading driver %s (%p) (%d)\n", DriverName, dd, i );