mirror of
https://github.com/tio/tio.git
synced 2026-05-02 07:17:57 +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);
|
||||
if (tmp == NULL)
|
||||
{
|
||||
perror("localtime");
|
||||
printf("Error: Retrieving local time failed\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue