From 17026e30b14fcc206e56ec4ff942e754f24327fc Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 17 Feb 2010 16:52:30 +0000 Subject: [PATCH] unix ports: fixed usage of sys_sem_signal after changing sys layer --- ports/unix/proj/lib/unixlib.c | 4 ++-- ports/unix/proj/unixsim/simhost.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/unix/proj/lib/unixlib.c b/ports/unix/proj/lib/unixlib.c index 33f4187..661b0b4 100644 --- a/ports/unix/proj/lib/unixlib.c +++ b/ports/unix/proj/lib/unixlib.c @@ -26,7 +26,7 @@ * * Author: Kieran Mansley * - * $Id: unixlib.c,v 1.9 2010/02/12 13:57:58 goldsimon Exp $ + * $Id: unixlib.c,v 1.10 2010/02/17 16:52:30 goldsimon Exp $ */ /*-----------------------------------------------------------------------------------*/ @@ -73,7 +73,7 @@ tcpip_init_done(void *arg) netif_set_default(netif_add(&netif, &ipaddr, &netmask, &gateway, NULL, tapif_init, tcpip_input)); - sys_sem_signal(*sem); + sys_sem_signal(sem); } void _init(void){ diff --git a/ports/unix/proj/unixsim/simhost.c b/ports/unix/proj/unixsim/simhost.c index 5d9f844..0dc3633 100644 --- a/ports/unix/proj/unixsim/simhost.c +++ b/ports/unix/proj/unixsim/simhost.c @@ -136,7 +136,7 @@ tcpip_init_done(void *arg) init_netifs(); - sys_sem_signal(*sem); + sys_sem_signal(sem); } #if PPP_SUPPORT