Complete r327264 by fixing yet another return without cleanup.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2017-12-28 12:59:48 +00:00
parent 089d1ca8fb
commit 298321a2e9

View File

@ -147,7 +147,7 @@ intel_update(const char *dev, const char *path)
fd = open(path, O_RDONLY, 0);
if (fd < 0) {
WARN(0, "open(%s)", path);
return;
goto fail;
}
error = fstat(fd, &st);
if (error != 0) {