modify:driver:modify the driver command printf
@@ -589,17 +589,17 @@ static int __driv_show_shell(int argc,const char *argv[])
if(osal_mutex_lock(s_los_driv_module.lock))
{
- LINK_LOG_DEBUG("%s:total %d drivers\n\r",__FUNCTION__,s_los_driv_module.drivnum);
+ link_printf("%s:total %d drivers\n\r",__FUNCTION__,s_los_driv_module.drivnum);
if(s_los_driv_module.drivnum != 0) //print all the driver
{
- LINK_LOG_DEBUG("%-16s %-8s %-8s %-8s %-8s %-8s %-8s\r\n",\
+ link_printf("%-16s %-8s %-8s %-8s %-8s %-8s %-8s\r\n",\
"drivername","flagmask","status","writbyte","readbyte","open","errno");
driv = s_los_driv_module.drivlst;
while(NULL != driv)
{
- LINK_LOG_DEBUG("%-16s %08x %08x %08x %08x %08x %08x\r\n",driv->name,driv->flagmask,\
+ link_printf("%-16s %08x %08x %08x %08x %08x %08x\r\n",driv->name,driv->flagmask,\
driv->drivstatus,driv->total_write,driv->total_read,driv->opencounter,driv->errno);
driv=driv->nxt;
}
