diff options
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pfinet/main.c b/pfinet/main.c index bd0c44f3..01dc24be 100644 --- a/pfinet/main.c +++ b/pfinet/main.c @@ -206,12 +206,13 @@ main (int argc, After this, we can use `register_netdevice' for new interfaces. */ net_dev_init (); + __mutex_unlock (&global_lock); + /* Parse options. When successful, this configures the interfaces - before returning. (And when not sucessful, it never returns.) */ + before returning; to do so, it will acquire the global_lock. + (And when not sucessful, it never returns.) */ argp_parse (&pfinet_argp, argc, argv, 0,0,0); - __mutex_unlock (&global_lock); - /* Ask init to tell us when the system is going down, so we can try to be friendly to our correspondents on the network. */ arrange_shutdown_notification (); |