diff --git a/include/osdep_service.h b/include/osdep_service.h index 0606b34..8604200 100644 --- a/include/osdep_service.h +++ b/include/osdep_service.h @@ -1413,9 +1413,9 @@ __inline static unsigned char _cancel_timer_ex(_timer *ptimer) static __inline void thread_enter(char *name) { - #ifdef daemonize +#ifdef daemonize daemonize("%s", name); - #endif +#endif allow_signal(SIGTERM); } diff --git a/os_dep/os_intfs.c b/os_dep/os_intfs.c index 9b34096..4da85d7 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -311,7 +311,7 @@ void rtw_proc_init_one(struct net_device *dev) { } -#else /* LINUX_VERSION_CODE > KERNEL_VERSION(3, 8. 0) */ +#else /* create_proc_entry not defined */ void rtw_proc_init_one(struct net_device *dev) { struct proc_dir_entry *dir_dev = NULL;