Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109523441
D38836.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
653 B
Referenced Files
None
Subscribers
None
D38836.diff
View Options
diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c
--- a/usr.sbin/bhyve/bhyverun.c
+++ b/usr.sbin/bhyve/bhyverun.c
@@ -1236,7 +1236,7 @@
int
main(int argc, char *argv[])
{
- int c, error, err;
+ int c, error;
int max_vcpus, memflags;
struct vmctx *ctx;
uint64_t rip;
@@ -1437,8 +1437,8 @@
if (get_config_bool_default("memory.guest_in_core", false))
memflags |= VM_MEM_F_INCORE;
vm_set_memflags(ctx, memflags);
- err = vm_setup_memory(ctx, memsize, VM_MMAP_ALL);
- if (err) {
+ error = vm_setup_memory(ctx, memsize, VM_MMAP_ALL);
+ if (error) {
fprintf(stderr, "Unable to setup memory (%d)\n", errno);
exit(4);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 7, 5:20 AM (18 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16506545
Default Alt Text
D38836.diff (653 B)
Attached To
Mode
D38836: bhyve: Remove excessive 'err' variable
Attached
Detach File
Event Timeline
Log In to Comment