correctly get boot unit

This commit is contained in:
Laurent Vivier 2008-08-12 23:37:22 +00:00
parent be678577f6
commit 1a1478bfe8

View File

@ -24,7 +24,7 @@
#include "serial.h" #include "serial.h"
#if defined(APPLE_DRIVER) #if defined(APPLE_DRIVER)
extern int *boot_unit; extern int boot_unit;
#endif #endif
#define MSG_STATE_0 console_set_cursor_position(win.l + win.h + 1, 1); \ #define MSG_STATE_0 console_set_cursor_position(win.l + win.h + 1, 1); \
@ -200,7 +200,7 @@ int read_config(emile_l2_header_t* info, emile_config_t *econfig)
} }
#if defined(APPLE_DRIVER) #if defined(APPLE_DRIVER)
stream_set_default(*boot_unit); stream_set_default(boot_unit);
#endif #endif
configuration = open_config(info); configuration = open_config(info);