From b9f69bbc0f4ed47792af3c3e304fc3023c6bb117 Mon Sep 17 00:00:00 2001 From: Jim Meyering 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 deletion(-) diff --git a/ChangeLog b/ChangeLog index 239faa6f4..005290eb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 Jim Meyering + + 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 getloadavg: check whether n_name is a pointer, for QNX 6.4.1 diff --git a/lib/getloadavg.c b/lib/getloadavg.c index d968e5baa..a7bac4903 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 -- 2.11.0