comparison lib-src/movemail.c @ 9491:dd3b83e4ceb0

Eliminate some -Wall warnings.
author David J. MacKenzie <djm@gnu.org>
date Wed, 12 Oct 1994 20:21:51 +0000
parents 4e70299f958d
children b217e71338f4
comparison
equal deleted inserted replaced
9490:4e70299f958d 9491:dd3b83e4ceb0
544 * workstation's AFS cache. The changes are not written to the server 544 * workstation's AFS cache. The changes are not written to the server
545 * until a call to fsync or close is made. Users with AFS home 545 * until a call to fsync or close is made. Users with AFS home
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 {
557 error ("Error in close: %s", strerror (errno)); 559 error ("Error in close: %s", strerror (errno));
558 return (1); 560 return (1);