ddb: unbreak ppc
usr/src/powerpc.powerpcspe/tmp/usr/include/strings.h:62: warning: shadowed declaration is here
This commit is contained in:
parent
d03aadf7dc
commit
d8efe4d82d
@ -83,12 +83,12 @@ kread(kvm_t *kvm, void *kvm_pointer, void *address, size_t size,
|
||||
}
|
||||
|
||||
static int
|
||||
kread_symbol(kvm_t *kvm, int index, void *address, size_t size,
|
||||
kread_symbol(kvm_t *kvm, int read_index, void *address, size_t size,
|
||||
size_t offset)
|
||||
{
|
||||
ssize_t ret;
|
||||
|
||||
ret = kvm_read(kvm, namelist[index].n_value + offset, address, size);
|
||||
ret = kvm_read(kvm, namelist[read_index].n_value + offset, address, size);
|
||||
if (ret < 0 || (size_t)ret != size)
|
||||
return (-1);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user