Changeset 374 for asp3_tinet_ecnl_arm/trunk/ntshell/src/net_misc.c
- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/ntshell/src/net_misc.c
r359 r374 60 60 #include "kernel_cfg.h" 61 61 #include "tinet_cfg.h" 62 #include "util/ntstdio.h" 63 64 extern ntstdio_t ntstdio; 62 #include <stdio.h> 65 63 66 64 T_DHCP4_CLI_CONTEXT *dhcp4_cli_initialize(ID tskid, ID cepid); … … 97 95 98 96 get_tid(&nc->tskid); 99 ntstdio_printf(&ntstdio,"[NET MISC:%d,%d] started.", nc->tskid, (ID)exinf);97 printf("[NET MISC:%d,%d] started.", nc->tskid, (ID)exinf); 100 98 101 99 /* 初期化 */ … … 105 103 ret = get_tim(&time); 106 104 if (ret != E_OK) { 107 ntstdio_printf(&ntstdio,"[NET MISC,%d] get_tim error: %7lu,%s",105 printf("[NET MISC,%d] get_tim error: %7lu,%s", 108 106 nc->cepid, time / SYSTIM_HZ, itron_strerror(ret)); 109 107 return; … … 119 117 error = tslp_tsk(timer); 120 118 if ((error != E_OK) && (error != E_TMOUT)) { 121 ntstdio_printf(&ntstdio,"[NET MISC,%d] tslp_tsk error: %s %d",119 printf("[NET MISC,%d] tslp_tsk error: %s %d", 122 120 nc->cepid, itron_strerror(error), timer); 123 121 break; … … 126 124 ret = get_tim(&time); 127 125 if (ret != E_OK) { 128 ntstdio_printf(&ntstdio,"[NET MISC,%d] get_tim error: %s",126 printf("[NET MISC,%d] get_tim error: %s", 129 127 nc->cepid, itron_strerror(ret)); 130 128 break;
Note:
See TracChangeset
for help on using the changeset viewer.