From efcc709c4d77d123eedb3d4c99980a0c1dd00eb1 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 19 Nov 2016 10:38:44 +0100 Subject: [PATCH] i386 removal, part 59/x: Revert a i386 specific local change in dma(8). --- libexec/dma/README.DRAGONFLY | 1 - libexec/dma/spool.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libexec/dma/README.DRAGONFLY b/libexec/dma/README.DRAGONFLY index d4965fff67..58e9144bb9 100644 --- a/libexec/dma/README.DRAGONFLY +++ b/libexec/dma/README.DRAGONFLY @@ -13,7 +13,6 @@ Local modifications applied to following files: dma.8 (typo) dma.c (typos, byacc fix, period script integration) dma.h (byacc fix) - spool.c (fixed i386 build) Not imported: get-version.sh diff --git a/libexec/dma/spool.c b/libexec/dma/spool.c index 1e2887c7fa..8f4e2ea1b4 100644 --- a/libexec/dma/spool.c +++ b/libexec/dma/spool.c @@ -416,7 +416,7 @@ flushqueue_since(unsigned int period) return (0); /* Did the flush file get touched within the last period seconds? */ - if (st.st_mtim.tv_sec + (int)period >= now.tv_sec) + if (st.st_mtim.tv_sec + period >= now.tv_sec) return (1); else return (0); -- 2.11.4.GIT