strings: unbreak the build after r340746

Discussed with:	oshogbo
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mateusz Guzik 2018-11-21 22:37:49 +00:00
parent f218ac5087
commit 248b5d08b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340750

View file

@ -350,7 +350,7 @@ find_strings(const char *name, off_t offset, off_t size)
(void)fseeko(stdin, offset, SEEK_SET);
cur_off = offset;
start_off = 0;
while (true) {
for (;;) {
if ((offset + size) && (cur_off >= offset + size))
break;
start_off = cur_off;
@ -395,7 +395,7 @@ find_strings(const char *name, off_t offset, off_t size)
}
printf("%s", obuf);
while (true) {
for (;;) {
if ((offset + size) &&
(cur_off >= offset + size))
break;