Author: eadler
Date: Sun Jun 17 00:00:24 2018
New Revision: 335271
URL: https://svnweb.freebsd.org/changeset/base/335271

Log:
  ddb: unbreak ppc
  
  usr/src/powerpc.powerpcspe/tmp/usr/include/strings.h:62:
  warning: shadowed declaration is here

Modified:
  head/sbin/ddb/ddb_capture.c

Modified: head/sbin/ddb/ddb_capture.c
==============================================================================
--- head/sbin/ddb/ddb_capture.c Sat Jun 16 23:50:34 2018        (r335270)
+++ head/sbin/ddb/ddb_capture.c Sun Jun 17 00:00:24 2018        (r335271)
@@ -83,12 +83,12 @@ kread(kvm_t *kvm, void *kvm_pointer, void *address, si
 }
 
 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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to