mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
exynos5: avoid NULL deref in error case
Reported by: Dr Silvio Cesare of InfoSect MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
13c73428dc
commit
b2f68d35aa
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ combiner_setup_intr(char *source_name, void (*ih)(void *), void *ih_user)
|
|||
sc = combiner_sc;
|
||||
|
||||
if (sc == NULL) {
|
||||
device_printf(sc->dev, "Error: combiner is not attached\n");
|
||||
printf("%s: error: combiner is not attached\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue