aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miscutils/make.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/make.c b/miscutils/make.c
index c2e12f2ed..fca00d8e3 100644
--- a/miscutils/make.c
+++ b/miscutils/make.c
@@ -2511,7 +2511,7 @@ make(struct name *np, int level)
2511 2511
2512 if (estat & MAKE_DIDSOMETHING) { 2512 if (estat & MAKE_DIDSOMETHING) {
2513 modtime(np); 2513 modtime(np);
2514 if (np->n_tim.tv_sec == 0 && np->n_tim.tv_nsec == 0) 2514 if (!np->n_tim.tv_sec)
2515 clock_gettime(CLOCK_REALTIME, &np->n_tim); 2515 clock_gettime(CLOCK_REALTIME, &np->n_tim);
2516 } else if (!quest && level == 0 && !timespec_le(&np->n_tim, &dtim)) 2516 } else if (!quest && level == 0 && !timespec_le(&np->n_tim, &dtim))
2517 printf("%s: '%s' is up to date\n", applet_name, np->n_name); 2517 printf("%s: '%s' is up to date\n", applet_name, np->n_name);