diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-15 16:51:14 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-15 16:51:14 +0000 |
commit | d46053106d746260ce0ab39458332bc31ce6948b (patch) | |
tree | fcbaca371ef402b1f032ee7d139c02156496b5f7 /src | |
parent | fe2b2de9844749c876df209bb8d9413e0074cbcf (diff) | |
download | plan9port-d46053106d746260ce0ab39458332bc31ce6948b.tar.gz plan9port-d46053106d746260ce0ab39458332bc31ce6948b.tar.bz2 plan9port-d46053106d746260ce0ab39458332bc31ce6948b.zip |
libmach: Fix type errors in FreeBSD.c
The ptrace handlers wanted to take u64int arguments,
not ulong.
Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/libmach/FreeBSD.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmach/FreeBSD.c b/src/libmach/FreeBSD.c index 80c8935a..de8647c6 100644 --- a/src/libmach/FreeBSD.c +++ b/src/libmach/FreeBSD.c @@ -30,8 +30,8 @@ struct PtraceRegs int pid; }; -static int ptracerw(Map*, Seg*, ulong, void*, uint, int); -static int ptraceregrw(Regs*, char*, ulong*, int); +static int ptracerw(Map*, Seg*, u64int, void*, uint, int); +static int ptraceregrw(Regs*, char*, u64int*, int); void unmapproc(Map *map) @@ -92,7 +92,7 @@ detachproc(int pid) } static int -ptracerw(Map *map, Seg *seg, ulong addr, void *v, uint n, int isr) +ptracerw(Map *map, Seg *seg, u64int addr, void *v, uint n, int isr) { int i; u32int u; @@ -167,7 +167,7 @@ reg2freebsd(char *reg) } static int -ptraceregrw(Regs *regs, char *name, ulong *val, int isr) +ptraceregrw(Regs *regs, char *name, u64int *val, int isr) { int pid; ulong addr; |