summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-01 12:32:37 +0000
committerjkh <jkh@FreeBSD.org>1999-02-01 12:32:37 +0000
commit97fc2dc4c819ccf2e121554bae11295d446a18cf (patch)
tree9f18d150cb4487c1ac68a38cd7cf3923d568844f /lib
parent56683bbe5aa9fcb495817b77bd9eec48a7103287 (diff)
downloadFreeBSD-src-97fc2dc4c819ccf2e121554bae11295d446a18cf.zip
FreeBSD-src-97fc2dc4c819ccf2e121554bae11295d446a18cf.tar.gz
Oops. Missed this in the last commit.
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libstand/pager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libstand/pager.c b/lib/libstand/pager.c
index d043f83..55bbf09 100644
--- a/lib/libstand/pager.c
+++ b/lib/libstand/pager.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pager.c,v 1.1.1.1 1998/08/20 08:19:55 msmith Exp $
+ * $Id: pager.c,v 1.2 1998/09/18 22:58:00 msmith Exp $
*/
/*
* Simple paged-output and paged-viewing functions
@@ -139,7 +139,6 @@ pager_file(const char *fname)
return(-1);
}
- pager_open();
for (;;) {
hmuch = read(fd, buf, sizeof(buf) - 1);
if (hmuch == -1) {
@@ -156,7 +155,6 @@ pager_file(const char *fname)
break;
}
}
- pager_close();
close(fd);
return(result);
}
OpenPOWER on IntegriCloud