summaryrefslogtreecommitdiff
path: root/getgbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getgbook.c')
-rw-r--r--getgbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getgbook.c b/getgbook.c
index 660a1f6..77893f6 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -192,7 +192,7 @@ int main(int argc, char *argv[])
bookdir = argv[argc-1];
pages = malloc(sizeof(*pages) * MAXPAGES);
- if(getpagelist(bookid, pages)) {
+ if(getpagelist()) {
fprintf(stderr, "Could not find any pages for %s\n", bookid);
return 1;
}