Date: Sun, 22 Feb 2015 01:01:03 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279126 - head/usr.bin/mkimg Message-ID: <201502220101.t1M113pW085156@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Sun Feb 22 01:01:02 2015 New Revision: 279126 URL: https://svnweb.freebsd.org/changeset/base/279126 Log: In scheme_write(), don't overwrite the end parameter with the return value of image_get_size(). As it so happens, the only caller of scheme_write() passes exactly that. Modified: head/usr.bin/mkimg/scheme.c Modified: head/usr.bin/mkimg/scheme.c ============================================================================== --- head/usr.bin/mkimg/scheme.c Sun Feb 22 00:58:10 2015 (r279125) +++ head/usr.bin/mkimg/scheme.c Sun Feb 22 01:01:02 2015 (r279126) @@ -180,7 +180,6 @@ scheme_write(lba_t end) { int error; - end = image_get_size(); error = scheme->write(end, bootcode); return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502220101.t1M113pW085156>