summaryrefslogtreecommitdiff
path: root/usr.bin/less/line.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-13 22:47:46 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-13 22:47:46 +0000
commit547e4898a64509d7ca50b4d4bdf182d71ae5976c (patch)
tree8f900cd21af07ebdfd9bcc68e1555db54ece257e /usr.bin/less/line.c
parentfff7b28f4dce03ab8b186c1c3c8c9003760ab79b (diff)
unify two identical function pairs now that we've removed less's off_t
aliases ok nicm@
Diffstat (limited to 'usr.bin/less/line.c')
-rw-r--r--usr.bin/less/line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/line.c b/usr.bin/less/line.c
index 65796b3568a..ab6f701921e 100644
--- a/usr.bin/less/line.c
+++ b/usr.bin/less/line.c
@@ -178,7 +178,7 @@ plinenum(off_t pos)
char buf[INT_STRLEN_BOUND(pos) + 2];
int n;
- linenumtoa(linenum, buf, sizeof (buf));
+ postoa(linenum, buf, sizeof(buf));
n = strlen(buf);
if (n < MIN_LINENUM_WIDTH)
n = MIN_LINENUM_WIDTH;