projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix typo.
[kopensolaris-gnu/glibc.git]
/
nss
/
getXXbyYY.c
diff --git
a/nss/getXXbyYY.c
b/nss/getXXbyYY.c
index
542072b
..
47df15b
100644
(file)
--- a/
nss/getXXbyYY.c
+++ b/
nss/getXXbyYY.c
@@
-17,7
+17,7
@@
Boston, MA 02111-1307, USA. */
#include <errno.h>
-#include <libc-lock.h>
+#include <
bits/
libc-lock.h>
#include <stdlib.h>
#include "nsswitch.h"
@@
-122,6
+122,9
@@
FUNCTION_NAME (ADD_PARAMS)
buffer = new_buf;
}
+ if (buffer == NULL)
+ result = NULL;
+
#ifdef HANDLE_DIGITS_DOTS
done:
#endif