/* Show warning if last reboot was caused by SOC watchdog */
if (last_reset_wdt())
- puts("** Warning: reset caused by watchdog!\n\n");
+ printf_wrn("reset caused by watchdog!\n\n");
/* Board name */
printf("%" ALIGN_SIZE "s %s\n",
/* Do we have recovery script in env var at all? */
c = getenv("recovery");
if (c == NULL) {
- puts("** Warning: recovery script is missing\n");
- puts(" in env, use 'defenv' to reset env\n\n");
+ printf_wrn("recovery script is missing\n"
+ " in env, use 'defenv' to reset env\n\n");
} else {
/*
* Always clear values of variables used in recovery