Skip to content

Commit

Permalink
Fix last change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Mar 25, 2012
1 parent ac4c54f commit d6a403f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions posix/confstr.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ confstr (name, buf, len)
{
const char *string = "";
size_t string_len = 1;

/* Note that this buffer must be large enough for the longest strings
used below. */
char restenvs[4 * sizeof "POSIX_V7_LPBIG_OFFBIG"];
char restenvs[4 * sizeof "POSIX_V6_LPBIG_OFFBIG"];
char restenvs[4 * sizeof "XBS5_LPBIG_OFFBIG"];

switch (name)
{
Expand Down

0 comments on commit d6a403f

Please sign in to comment.