projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_1_snap release
[unix-history]
/
usr
/
src
/
cmd
/
delivermail
/
err.c
diff --git
a/usr/src/cmd/delivermail/err.c
b/usr/src/cmd/delivermail/err.c
index
d386e43
..
c8ac7f4
100644
(file)
--- a/
usr/src/cmd/delivermail/err.c
+++ b/
usr/src/cmd/delivermail/err.c
@@
-4,7
+4,7
@@
# include <log.h>
# endif LOG
# include <log.h>
# endif LOG
-static char SccsId[] = "@(#)err.c
1.5 10/21/80
";
+static char SccsId[] = "@(#)err.c
2.2 1/10/81
";
/*
** SYSERR -- Print error message.
/*
** SYSERR -- Print error message.
@@
-44,6
+44,7
@@
syserr(fmt, a, b, c, d, e)
sprintf(p, ": error %d", errno);
}
printf("delivermail: %s\n", errbuf);
sprintf(p, ": error %d", errno);
}
printf("delivermail: %s\n", errbuf);
+ fflush(stdout);
Errors++;
/* determine exit status if not already set */
Errors++;
/* determine exit status if not already set */
@@
-90,5
+91,6
@@
usrerr(fmt, a, b, c, d, e)
printf("%s... ", To);
printf(fmt, a, b, c, d, e);
printf("\n");
printf("%s... ", To);
printf(fmt, a, b, c, d, e);
printf("\n");
+ fflush(stdout);
return (-1);
}
return (-1);
}