svn commit: r332440 - head/usr.bin/mkimg

Benno Rice benno at FreeBSD.org
Thu Apr 12 17:16:14 UTC 2018


Author: benno
Date: Thu Apr 12 17:16:13 2018
New Revision: 332440
URL: https://svnweb.freebsd.org/changeset/base/332440

Log:
  Fix a conditional that got mucked up.
  
  Sponsored by:	iXsystems, Inc.

Modified:
  head/usr.bin/mkimg/mkimg.c

Modified: head/usr.bin/mkimg/mkimg.c
==============================================================================
--- head/usr.bin/mkimg/mkimg.c	Thu Apr 12 17:05:27 2018	(r332439)
+++ head/usr.bin/mkimg/mkimg.c	Thu Apr 12 17:16:13 2018	(r332440)
@@ -464,10 +464,10 @@ mkimg(void)
 			if (expand_number(size, &bytesize) == -1)
 				error = errno;
 			if (offset != NULL) {
-				if (*offset != '+') {
+				if (*offset != '+')
 					abs_offset = true;
+				else
 					offset++;
-				}
 				if (expand_number(offset, &byteoffset) == -1)
 					error = errno;
 			}


More information about the svn-src-head mailing list