summaryrefslogtreecommitdiff
path: root/usr.bin/dpv
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2014-11-05 01:47:25 +0000
committerDevin Teske <dteske@FreeBSD.org>2014-11-05 01:47:25 +0000
commit964b46aaea475198a0af47ae5207a5c90679f291 (patch)
tree19cc2f386041319a29d202cfeef6e427267ade68 /usr.bin/dpv
parente8f6aafb54a72a4af9d881557408509bcf9b1809 (diff)
downloadsrc-test2-964b46aaea475198a0af47ae5207a5c90679f291.tar.gz
src-test2-964b46aaea475198a0af47ae5207a5c90679f291.zip
Notes
Diffstat (limited to 'usr.bin/dpv')
-rw-r--r--usr.bin/dpv/dpv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dpv/dpv.c b/usr.bin/dpv/dpv.c
index 6e48b6490c1b..4e006f6c12d5 100644
--- a/usr.bin/dpv/dpv.c
+++ b/usr.bin/dpv/dpv.c
@@ -177,7 +177,7 @@ operate_on_bytes(struct dpv_file_node *file, int out)
fsync(out);
}
- overall_read += r;
+ dpv_overall_read += r;
file->read += r;
/* Calculate percentage of completion (if possible) */
@@ -226,7 +226,7 @@ operate_on_lines(struct dpv_file_node *file, int out)
/* Process the buffer for number of lines */
for (p = buf; p != NULL && *p != '\0';)
if ((p = strchr(p, '\n')) != NULL)
- overall_read++, p++, file->read++;
+ dpv_overall_read++, p++, file->read++;
/* Calculate percentage of completion (if possible) */
if (file->length >= 0) {