Fix null pointer dereference.
MFC after: 2 weeks Coverity CID: 1256497 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e852010c39
commit
0dd2bee428
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275399
@ -1825,7 +1825,7 @@ conf_apply(struct conf *oldconf, struct conf *newconf)
|
||||
error = kernel_port_add(newtarg);
|
||||
if (error != 0) {
|
||||
log_warnx("failed to add target %s",
|
||||
oldtarg->t_name);
|
||||
newtarg->t_name);
|
||||
/*
|
||||
* XXX: Uncomment after fixing the root cause.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user