diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-09 00:25:14 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-09 00:25:14 +0000 |
commit | 533b6ecfdcae61a47740381193e050de91f1f430 (patch) | |
tree | 463b90b5eb07959687310468ef63bf9a1066632f /sys/arm | |
parent | 0ed1db1aad5f529b32cf45848b842b374406a5be (diff) | |
download | src-533b6ecfdcae61a47740381193e050de91f1f430.tar.gz src-533b6ecfdcae61a47740381193e050de91f1f430.zip |
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.
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/arm/debug_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/debug_monitor.c b/sys/arm/arm/debug_monitor.c index b9678a5040af..7f4dd829b4f9 100644 --- a/sys/arm/arm/debug_monitor.c +++ b/sys/arm/arm/debug_monitor.c @@ -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 |