mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/avr8_common: implement perror()
This commit is contained in:
parent
4a0c5e687f
commit
5274e30178
@ -177,4 +177,9 @@ ssize_t write(int fd, const void *src, size_t count)
|
||||
#endif
|
||||
}
|
||||
|
||||
void perror(const char *s)
|
||||
{
|
||||
printf("%s: %s\n", s, strerror(errno));
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user