aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
authorDavid J. MacKenzie1994-10-12 20:21:51 +0000
committerDavid J. MacKenzie1994-10-12 20:21:51 +0000
commit340ff9deaea2a7258d3ee1eca65487b4cd8dd305 (patch)
tree48728b1b42696e296b41072130301fc3ea627440 /lib-src/movemail.c
parente2f9d9afabe51c8be7e6f4327197670b941789f2 (diff)
downloademacs-340ff9deaea2a7258d3ee1eca65487b4cd8dd305.tar.gz
emacs-340ff9deaea2a7258d3ee1eca65487b4cd8dd305.zip
Eliminate some -Wall warnings.
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r--lib-src/movemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index c971c9f2b11..283aca21c13 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -546,11 +546,13 @@ popmail (user, outfile)
546 * directories have lost mail when over quota because these checks were 546 * directories have lost mail when over quota because these checks were
547 * not made in previous versions of movemail. */ 547 * not made in previous versions of movemail. */
548 548
549#ifdef BSD
549 if (fsync (mbfi) < 0) 550 if (fsync (mbfi) < 0)
550 { 551 {
551 error ("Error in fsync: %s", strerror (errno)); 552 error ("Error in fsync: %s", strerror (errno));
552 return (1); 553 return (1);
553 } 554 }
555#endif
554 556
555 if (close (mbfi) == -1) 557 if (close (mbfi) == -1)
556 { 558 {