Complete r327264 by fixing yet another return without cleanup.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
089d1ca8fb
commit
298321a2e9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user