Make sure that -- filemon is at start of a line, so that

it is found as expected.
This commit is contained in:
sjg 2015-03-13 02:54:46 +00:00
parent bf31580311
commit 41a580aa36

View File

@ -169,7 +169,7 @@ filemon_read(FILE *mfp, int fd)
if ((fp = fdopen(fd, "r")) == NULL)
err(1, "Could not read build monitor file '%d'", fd);
fprintf(mfp, "-- filemon acquired metadata --\n");
fprintf(mfp, "\n-- filemon acquired metadata --\n");
while (fgets(buf, sizeof(buf), fp)) {
fprintf(mfp, "%s", buf);