diff options
author | Dave Beckett <dave@dajobe.org> | 2010-01-30 15:49:12 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-01-30 15:49:12 -0800 |
commit | b1522ebaf04fd7ec3e5250c624b36cabb9a53d67 (patch) | |
tree | fb9fb40c498e8602e648d90fe1282c7462f2b174 /utils | |
parent | 19bb545d05b729881f2d95f80ffb04a3934213b2 (diff) | |
download | raptor-b1522ebaf04fd7ec3e5250c624b36cabb9a53d67.tar.gz |
Update raptor_print_locator calling convention
Diffstat (limited to 'utils')
-rw-r--r-- | utils/rapper.c | 4 | ||||
-rw-r--r-- | utils/rdfdiff.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/rapper.c b/utils/rapper.c index ef1606e2..0ae389fe 100644 --- a/utils/rapper.c +++ b/utils/rapper.c @@ -227,7 +227,7 @@ rdfdump_error_handler(void *data, raptor_locator *locator, if(!ignore_errors) { fprintf(stderr, "%s: Error - ", program); - raptor_print_locator(stderr, locator); + raptor_print_locator(locator, stderr); fprintf(stderr, " - %s\n", message); raptor_parser_parse_abort(parser); @@ -245,7 +245,7 @@ rdfdump_warning_handler(void *data, raptor_locator *locator, if(!ignore_warnings) { fprintf(stderr, "%s: Warning - ", program); - raptor_print_locator(stderr, locator); + raptor_print_locator(locator, stderr); fprintf(stderr, " - %s\n", message); } diff --git a/utils/rdfdiff.c b/utils/rdfdiff.c index 16ffc851..7cc83546 100644 --- a/utils/rdfdiff.c +++ b/utils/rdfdiff.c @@ -445,7 +445,7 @@ rdfdiff_error_handler(void *data, raptor_locator *locator, if(!ignore_errors) { fprintf(stderr, "%s: Error - ", program); - raptor_print_locator(stderr, locator); + raptor_print_locator(locator, stderr); fprintf(stderr, " - %s\n", message); raptor_parser_parse_abort(file->parser); @@ -464,7 +464,7 @@ rdfdiff_warning_handler(void *data, raptor_locator *locator, if(!ignore_warnings) { fprintf(stderr, "%s: Warning - ", program); - raptor_print_locator(stderr, locator); + raptor_print_locator(locator, stderr); fprintf(stderr, " - %s\n", message); } |