NEWS updates
diff --git a/src/nm.c b/src/nm.c
index 66e0b21..d4d66be 100644
--- a/src/nm.c
+++ b/src/nm.c
@@ -582,9 +582,9 @@
   if  (locattr == NULL)
     return 1;
 
-  Dwarf_Loc *loc;
+  Dwarf_Op *loc;
   size_t nloc;
-  if (dwarf_getloclist (locattr, &loc, &nloc) != 0)
+  if (dwarf_getlocation (locattr, &loc, &nloc) != 0)
     return 1;
 
   /* Interpret the location expressions.  */