]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf.c
2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
[thirdparty/binutils-gdb.git] / bfd / elf.c
index 3cc0dd5f18b7363dde3eb8d51327e107f9c33920..0def9618b2e0f3e8d13a27396a5d52613eae3f07 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6441,7 +6441,7 @@ elfcore_netbsd_get_lwpid (note, lwpidp)
   cp = strchr (note->namedata, '@');
   if (cp != NULL)
     {
-      *lwpidp = atoi(cp);
+      *lwpidp = atoi(cp + 1);
       return true;
     }
   return false;