summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-04-20 11:50:50 +0100
committerNick White <git@njw.me.uk>2012-04-20 11:50:50 +0100
commit7e55f7ae9f1e3d86c970a7bf9b48d4d567182caf (patch)
treeb9b1b6eeffdf0fee7e8d9149d448d083d52836ee /getabook.c
parent7739ec5aaee54b44ee9e570c3f4fbc11e0fd3014 (diff)
Fix incorrect function usage
Diffstat (limited to 'getabook.c')
-rw-r--r--getabook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getabook.c b/getabook.c
index 2712cc8..524fd20 100644
--- a/getabook.c
+++ b/getabook.c
@@ -163,7 +163,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;
}