diff --git a/ttyplot.c b/ttyplot.c index 98d9379..3b3c98f 100755 --- a/ttyplot.c +++ b/ttyplot.c @@ -281,11 +281,11 @@ int main(int argc, char *argv[]) { mvprintw(height-1, width-sizeof(verstring)/sizeof(char), verstring); lt=localtime(&t1); - #ifdef __sun + #ifdef __sun asctime_r(lt, ls, sizeof(ls)); - #else + #else asctime_r(lt, ls); - #endif + #endif mvprintw(height-2, width-strlen(ls), "%s", ls); #ifdef _AIX