summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getbnbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getbnbook.c b/getbnbook.c
index 5254f14..8bec295 100644
--- a/getbnbook.c
+++ b/getbnbook.c
@@ -93,7 +93,7 @@ int getpage(int pagenum)
int main(int argc, char *argv[])
{
char *tmp;
- char buf[STRMAX], pgpath[STRMAX];
+ char buf[BUFSIZ], pgpath[STRMAX];
char in[16];
int a, i, n;
FILE *f;