Author: mjg
Date: Wed Nov 21 22:37:49 2018
New Revision: 340750
URL: https://svnweb.freebsd.org/changeset/base/340750

Log:
  strings: unbreak the build after r340746
  
  Discussed with:       oshogbo
  Sponsored by: The FreeBSD Foundation

Modified:
  head/contrib/elftoolchain/strings/strings.c

Modified: head/contrib/elftoolchain/strings/strings.c
==============================================================================
--- head/contrib/elftoolchain/strings/strings.c Wed Nov 21 22:25:05 2018        
(r340749)
+++ head/contrib/elftoolchain/strings/strings.c Wed Nov 21 22:37:49 2018        
(r340750)
@@ -350,7 +350,7 @@ find_strings(const char *name, off_t offset, off_t siz
        (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 siz
                        }
                        printf("%s", obuf);
 
-                       while (true) {
+                       for (;;) {
                                if ((offset + size) &&
                                    (cur_off >= offset + size))
                                        break;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to