Complete r327264 by fixing yet another return without cleanup.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
57c437bda4
commit
6386c20651
@ -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