diff options
Diffstat (limited to 'usr.bin/mg/file.c')
-rw-r--r-- | usr.bin/mg/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c index 61cd03c23b5..ee345924c75 100644 --- a/usr.bin/mg/file.c +++ b/usr.bin/mg/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.70 2009/06/04 02:23:37 kjell Exp $ */ +/* $OpenBSD: file.c,v 1.71 2009/06/04 23:39:37 kjell Exp $ */ /* This file is in the public domain. */ @@ -156,7 +156,7 @@ poptofile(int f, int n) return (FALSE); if (bp == curbp) return (splitwind(f, n)); - if ((wp = popbuf(bp)) == NULL) + if ((wp = popbuf(bp, WNONE)) == NULL) return (FALSE); curbp = bp; curwp = wp; |