diff --git a/services/init/init_common_cmds.c b/services/init/init_common_cmds.c index 2c0ea15542a38f891fc3885b71cf817a9d6b6b91..95e13ac752b106c447cbdf824543d9706fa42c79 100755 --- a/services/init/init_common_cmds.c +++ b/services/init/init_common_cmds.c @@ -302,7 +302,7 @@ static void DoChown(const struct CmdArgs *ctx) const int pathPos = 2; int ret = SetOwner(ctx->argv[pathPos], ctx->argv[0], ctx->argv[1]); if (ret != 0) { - INIT_LOGE("Failed to change owner for %s, err %d.", ctx->argv[pathPos], errno); + INIT_LOGV("Failed to change owner for %s, err %d.", ctx->argv[pathPos], errno); } return; } @@ -358,7 +358,7 @@ static void DoChmod(const struct CmdArgs *ctx) } if (chmod(ctx->argv[1], mode) != 0) { - INIT_LOGE("Failed to change mode \" %s \" mode to %04o, err = %d", ctx->argv[1], mode, errno); + INIT_LOGV("Failed to change mode \" %s \" mode to %04o, err = %d", ctx->argv[1], mode, errno); } }