diff options
author | mckay <mckay@FreeBSD.org> | 2004-01-26 04:08:43 +0000 |
---|---|---|
committer | mckay <mckay@FreeBSD.org> | 2004-01-26 04:08:43 +0000 |
commit | 78c458d45ccc8a8c92dc8b54e02c615202746e86 (patch) | |
tree | b87e4ceeb87c5dc5d5b48acbb1f763558e228578 /usr.sbin/ctm | |
parent | 5c3a320f7bc55fbee840d0c6ff22136bfcda9c80 (diff) | |
download | FreeBSD-src-78c458d45ccc8a8c92dc8b54e02c615202746e86.zip FreeBSD-src-78c458d45ccc8a8c92dc8b54e02c615202746e86.tar.gz |
The log file is more useful when line buffered.
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Diffstat (limited to 'usr.sbin/ctm')
-rw-r--r-- | usr.sbin/ctm/mkCTM/mkctm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ctm/mkCTM/mkctm.c b/usr.sbin/ctm/mkCTM/mkctm.c index 80db47f..196a510 100644 --- a/usr.sbin/ctm/mkCTM/mkctm.c +++ b/usr.sbin/ctm/mkCTM/mkctm.c @@ -546,6 +546,7 @@ main(int argc, char **argv) logf = fopen(optarg, "w"); if (!logf) err(1, "%s", optarg); + setlinebuf(logf); break; case 'q': verbose--; |