diff options
Diffstat (limited to 'console-client/driver.c')
-rw-r--r-- | console-client/driver.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/console-client/driver.c b/console-client/driver.c index 0c1834d2..2a56729d 100644 --- a/console-client/driver.c +++ b/console-client/driver.c @@ -1,5 +1,5 @@ /* driver.c - The console client driver code. - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. Written by Marcus Brinkmann. This file is part of the GNU Hurd. @@ -248,8 +248,8 @@ error_t driver_start (char **name) { error_t err = 0; - unsigned int i; - + int i; + mutex_lock (&driver_list_lock); for (i = 0; i < driver_list_len; i++) { @@ -304,7 +304,6 @@ error_t driver_remove (const char *const name) return ESRCH; } - #define ADD_REMOVE_COMPONENT(component) \ struct mutex component##_list_lock; \ component##_t component##_list; \ |