mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Updated localtime() error message
This commit is contained in:
parent
3c5cc029a8
commit
4e2bcde010
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ char * current_time(void)
|
||||||
tmp = localtime(&t);
|
tmp = localtime(&t);
|
||||||
if (tmp == NULL)
|
if (tmp == NULL)
|
||||||
{
|
{
|
||||||
perror("localtime");
|
printf("Error: Retrieving local time failed\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue