Skip to content

Commit

Permalink
Reserve 5 chars per relids + 1 char for space
Browse files Browse the repository at this point in the history
  • Loading branch information
wulczer committed Jun 14, 2010
1 parent 0786f9b commit f22d0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saio_debug.c
Expand Up @@ -171,7 +171,7 @@ print_relids(FILE *stream, const struct printf_info *info,

relids = *((Relids *) (args[0]));

bufsize = bms_num_members(relids) * 2;
bufsize = bms_num_members(relids) * 6;
buffer = malloc(bufsize);
if (!buffer)
return -1;
Expand Down

0 comments on commit f22d0af

Please sign in to comment.