mkr...@beckman.com wrote: > Thanks for fixing up my patch. I did notice one problem with the change: > the comment describing N_NAME_POINTER refers to NLIST_POINTER instead.
Thanks! I've fixed it with this: >From b9f69bbc0f4ed47792af3c3e304fc3023c6bb117 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Fri, 31 Jul 2009 18:16:54 +0200 Subject: [PATCH] getloadavg: fix symbol name in comment * lib/getloadavg.c: Correct a typo I introduced when adding comments to Matt's change: s/NLIST_POINTER/N_NAME_POINTER/. Matt Kraai spotted the problem. --- ChangeLog | 7 +++++++ lib/getloadavg.c | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 239faa6..005290e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 Jim Meyering <meyer...@redhat.com> + + getloadavg: fix symbol name in comment + * lib/getloadavg.c: Correct a typo I introduced when adding + comments to Matt's change: s/NLIST_POINTER/N_NAME_POINTER/. + Matt Kraai spotted the problem. + 2009-07-29 Matt Kraai <mkr...@beckman.com> getloadavg: check whether n_name is a pointer, for QNX 6.4.1 diff --git a/lib/getloadavg.c b/lib/getloadavg.c index d968e5b..a7bac49 100644 --- a/lib/getloadavg.c +++ b/lib/getloadavg.c @@ -45,7 +45,7 @@ HAVE_NLIST_H nlist.h is available. NLIST_STRUCT defaults to this. NLIST_STRUCT Include nlist.h, not a.out.h. - NLIST_POINTER The nlist n_name element is a pointer, + N_NAME_POINTER The nlist n_name element is a pointer, not an array. HAVE_STRUCT_NLIST_N_UN_N_NAME `n_un.n_name' is member of `struct nlist'. LINUX_LDAV_FILE [__linux__, __CYGWIN__]: File containing -- 1.6.4.212.g4719