summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-03-04 15:48:00 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-03-04 15:48:00 +0000
commitaabf04cecb17a6890af72eee167d56a574cffe90 (patch)
treee174da9438e13046051dbfde94d5d481a0f0a874
parent07b39f8fac339d910bd564e77135acc14d78b547 (diff)
downloaddrakx-aabf04cecb17a6890af72eee167d56a574cffe90.tar
drakx-aabf04cecb17a6890af72eee167d56a574cffe90.tar.gz
drakx-aabf04cecb17a6890af72eee167d56a574cffe90.tar.bz2
drakx-aabf04cecb17a6890af72eee167d56a574cffe90.tar.xz
drakx-aabf04cecb17a6890af72eee167d56a574cffe90.zip
don't forget to probe USB for info and error messages as well
-rw-r--r--mdk-stage1/newt-frontend.c2
-rw-r--r--mdk-stage1/stdio-frontend.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/newt-frontend.c b/mdk-stage1/newt-frontend.c
index 9d14dfc84..0c740f42f 100644
--- a/mdk-stage1/newt-frontend.c
+++ b/mdk-stage1/newt-frontend.c
@@ -59,11 +59,13 @@ void finish_frontend(void)
void verror_message(char *msg, va_list ap)
{
+ probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
newtWinMessagev("Error", "Ok", msg, ap);
}
void vinfo_message(char *msg, va_list ap)
{
+ probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
newtWinMessagev("Notice", "Ok", msg, ap);
}
diff --git a/mdk-stage1/stdio-frontend.c b/mdk-stage1/stdio-frontend.c
index 0a0b0090e..36ad7ce99 100644
--- a/mdk-stage1/stdio-frontend.c
+++ b/mdk-stage1/stdio-frontend.c
@@ -176,11 +176,13 @@ static void blocking_msg(char *type, char *fmt, va_list ap)
void verror_message(char *msg, va_list ap)
{
+ probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
blocking_msg("> Error! ", msg, ap);
}
void vinfo_message(char *msg, va_list ap)
{
+ probe_that_type(USB_CONTROLLERS, BUS_USB); // we'd need the keyboard for interactions so...
blocking_msg("> Notice: ", msg, ap);
}