[PATCH 1/1] scripts: Fix the parameter of warning function