Commit 29fac70e authored by Rohit Gupta's avatar Rohit Gupta

minor fix pthread_create call

parent 898774d6
...@@ -487,7 +487,7 @@ void create_watchdog(openair0_device *dev) { ...@@ -487,7 +487,7 @@ void create_watchdog(openair0_device *dev) {
pthread_attr_setschedpolicy(&priv->watchdog_attr,SCHED_FIFO); pthread_attr_setschedpolicy(&priv->watchdog_attr,SCHED_FIFO);
pthread_create(&priv->watchdog,&priv->watchdog_attr,watchdog_thread,dev); pthread_create(&priv->watchdog,&priv->watchdog_attr,watchdog_thread,dev);
#else #else
pthread_create(&priv->watchdog,NULL,watchdog_thread,devv); pthread_create(&priv->watchdog,NULL,watchdog_thread,dev);
#endif #endif
pthread_mutex_init(&priv->watchdog_mutex,NULL); pthread_mutex_init(&priv->watchdog_mutex,NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment