Pass the computed enum of the correct type to dbg_setup_watchpoint.
The two sets of constants happen to have the same values, so this is just a cosmetic fix.
This commit is contained in:
parent
0ed1db1aad
commit
533b6ecfdc
@ -345,7 +345,7 @@ kdb_cpu_set_watchpoint(vm_offset_t addr, size_t size, int access)
|
||||
return (EINVAL);
|
||||
}
|
||||
|
||||
return (dbg_setup_watchpoint(addr, size, (enum dbg_access_t)access));
|
||||
return (dbg_setup_watchpoint(addr, size, dbg_access));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user