Complete r327264 by fixing yet another return without cleanup.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
kib 2017-12-28 12:59:48 +00:00
parent 57c437bda4
commit 6386c20651

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) {