Mercurial > hg > octave-nkf > gnulib-hg
changeset 11748:cf04692dac58
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Fri, 31 Jul 2009 18:16:54 +0200 |
parents | 89684a234ed6 |
children | b8280e05c904 |
files | ChangeLog lib/getloadavg.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 Jim Meyering <meyering@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 <mkraai@beckman.com> getloadavg: check whether n_name is a pointer, for QNX 6.4.1
--- 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