1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/avr8_common: don't implement perror() with stdio_null

This commit is contained in:
Benjamin Valentin 2024-12-22 16:56:35 +01:00
parent 3cd06eb6d2
commit cc80e34cd9

View File

@ -177,9 +177,11 @@ ssize_t write(int fd, const void *src, size_t count)
#endif
}
#ifndef MODULE_STDIO_NULL
void perror(const char *s)
{
printf("%s: %s\n", s, strerror(errno));
}
#endif
/** @} */