Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149813252
D54750.1790956917.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
492 B
Referenced Files
None
Subscribers
None
D54750.1790956917.diff
View Options
diff --git a/sys/dev/vmm/vmm_dev.c b/sys/dev/vmm/vmm_dev.c
--- a/sys/dev/vmm/vmm_dev.c
+++ b/sys/dev/vmm/vmm_dev.c
@@ -1252,9 +1252,11 @@
if (error == 0)
vmm_initialized = true;
else {
- error = vmmdev_cleanup();
- KASSERT(error == 0,
- ("%s: vmmdev_cleanup failed: %d", __func__, error));
+ int error1 __diagused;
+
+ error1 = vmmdev_cleanup();
+ KASSERT(error1 == 0,
+ ("%s: vmmdev_cleanup failed: %d", __func__, error1));
}
break;
case MOD_UNLOAD:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 2, 4:01 PM (1 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30106464
Default Alt Text
D54750.1790956917.diff (492 B)
Attached To
Mode
D54750: vmm: Avoid clobbering errors from vmm_modinit()
Attached
Detach File
Event Timeline
Log In to Comment