modefied the dev.c

Signed-off-by: xuyushi <xuyushi@meituan.com>