diff options
author | Benno Rice <benno@FreeBSD.org> | 2018-04-12 17:16:13 +0000 |
---|---|---|
committer | Benno Rice <benno@FreeBSD.org> | 2018-04-12 17:16:13 +0000 |
commit | 10e155c08a632dc3c7e27bc06002ab260aae0f5f (patch) | |
tree | f24a621017f7a1f912d37d3c460f3f2c895f89c1 /usr.bin/mkimg | |
parent | eb607f903497ac63854762e03628c77bd1e1def1 (diff) | |
download | src-test2-10e155c08a632dc3c7e27bc06002ab260aae0f5f.tar.gz src-test2-10e155c08a632dc3c7e27bc06002ab260aae0f5f.zip |
Notes
Diffstat (limited to 'usr.bin/mkimg')
-rw-r--r-- | usr.bin/mkimg/mkimg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mkimg/mkimg.c b/usr.bin/mkimg/mkimg.c index f465cfe5e880..c5a85aa7c33d 100644 --- a/usr.bin/mkimg/mkimg.c +++ b/usr.bin/mkimg/mkimg.c @@ -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; } |