diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-07-25 08:22:33 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-07-25 08:22:33 +0000 |
commit | b27fa2f6a9aae6a0a87897200334b193aa2882dd (patch) | |
tree | 78c6dd499c6a7fa94bfdc2b904111a8000d3f2e4 /usr.bin/mg/fileio.c | |
parent | 13c96fecbc7c5b3efb9b2f86588c8027f4de4ae0 (diff) |
Rename the header line of a buffer to b_headp, from the remarkably
unintuitive b_linep. No binary change.
Diffstat (limited to 'usr.bin/mg/fileio.c')
-rw-r--r-- | usr.bin/mg/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index ab6dbd3b6d6..5d8583abaaf 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.76 2006/06/29 21:59:08 jason Exp $ */ +/* $OpenBSD: fileio.c,v 1.77 2006/07/25 08:22:32 kjell Exp $ */ /* This file is in the public domain. */ @@ -113,7 +113,7 @@ ffputbuf(struct buffer *bp) { struct line *lp, *lpend; - lpend = bp->b_linep; + lpend = bp->b_headp; for (lp = lforw(lpend); lp != lpend; lp = lforw(lp)) { if (fwrite(ltext(lp), 1, llength(lp), ffp) != llength(lp)) { ewprintf("Write I/O error"); |