Log error message when we fail to destroy ggate provider.
MFC after: 3 days
This commit is contained in:
parent
4a88128b01
commit
783ee75392
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213531
@ -242,7 +242,8 @@ cleanup(struct hast_resource *res)
|
||||
ggiod.gctl_unit = res->hr_ggateunit;
|
||||
ggiod.gctl_force = 1;
|
||||
if (ioctl(res->hr_ggatefd, G_GATE_CMD_DESTROY, &ggiod) < 0) {
|
||||
pjdlog_warning("Unable to destroy hast/%s device",
|
||||
pjdlog_errno(LOG_WARNING,
|
||||
"Unable to destroy hast/%s device",
|
||||
res->hr_provname);
|
||||
}
|
||||
res->hr_ggateunit = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user