]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292888:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Jan 2016 21:42:19 +0000 (21:42 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Jan 2016 21:42:19 +0000 (21:42 +0000)
commit2850228b36b0b3dcebebc89a56e431e73daf18f4
tree445ddf6817580529a80b1086319a29c6b9e80efd
parentbdad62c2682a18be571ac0156c67d41e5eb7aa04
MFC r292888:

  Fix the error checking for the ubenv command.  This moves the check for an
  empty ldvar (which amounts to the varname string starting with '=') into
  the if block that manipulates ldvar, which avoids later referencing ldvar
  when it was never initialized.

git-svn-id: svn://svn.freebsd.org/base/stable/10@294346 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/uboot/common/main.c