summaryrefslogtreecommitdiffstats
path: root/bin/dd/position.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-06-20 14:58:55 +0000
committergreen <green@FreeBSD.org>1999-06-20 14:58:55 +0000
commit788bc0cf602a4339422fb952290bf85f5e320e07 (patch)
tree6d6fc3c96961d0a8f6b4ab0507fdfeac4a671380 /bin/dd/position.c
parent615565283ac17a71ab572b235e8e2ec107b6dfe1 (diff)
downloadFreeBSD-src-788bc0cf602a4339422fb952290bf85f5e320e07.zip
FreeBSD-src-788bc0cf602a4339422fb952290bf85f5e320e07.tar.gz
This is the second round of dd(1) changes. Some changes made/reversed by
request of Bruce. More changes may follow later. 'g' multiplier has been added (i.e. dd seek=5g if=bigfile.) Some minor corrections were made as well. Noticed by: bde
Diffstat (limited to 'bin/dd/position.c')
-rw-r--r--bin/dd/position.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/dd/position.c b/bin/dd/position.c
index 00fd504..7bab913 100644
--- a/bin/dd/position.c
+++ b/bin/dd/position.c
@@ -61,10 +61,9 @@ static const char rcsid[] =
void
pos_in()
{
- size_t bcnt;
+ int bcnt, warned;
ssize_t nr;
off_t cnt;
- int warned;
/* If not a character, pipe or tape device, try to seek on it. */
if (!(in.flags & (ISCHR|ISPIPE|ISTAPE))) {
OpenPOWER on IntegriCloud