summaryrefslogtreecommitdiff
path: root/utils/rdfdiff.c
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2010-01-30 15:49:12 -0800
committerDave Beckett <dave@dajobe.org>2010-01-30 15:49:12 -0800
commitb1522ebaf04fd7ec3e5250c624b36cabb9a53d67 (patch)
treefb9fb40c498e8602e648d90fe1282c7462f2b174 /utils/rdfdiff.c
parent19bb545d05b729881f2d95f80ffb04a3934213b2 (diff)
downloadraptor-b1522ebaf04fd7ec3e5250c624b36cabb9a53d67.tar.gz
Update raptor_print_locator calling convention
Diffstat (limited to 'utils/rdfdiff.c')
-rw-r--r--utils/rdfdiff.c4
1 files changed, 2 insertions, 2 deletions
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);
}