Updated localtime() error message

This commit is contained in:
Martin Lund 2016-05-09 14:54:22 +02:00
parent 3c5cc029a8
commit 4e2bcde010

View file

@ -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);
}