r108383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108382‎ | r108383 | r108384 >
Date:08:32, 9 January 2012
Author:ariel
Status:ok
Tags:
Comment:
tweak a couple error messages
Modified paths:
  • /branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c
@@ -313,7 +313,7 @@
314314 }
315315 seekresult = lseek(fin, bfile->position, SEEK_SET);
316316 if (seekresult == (off_t)-1) {
317 - fprintf(stderr,"lseek of file to %"PRId64" failed (7)\n",bfile->position);
 317+ fprintf(stderr,"lseek of file to %"PRId64" failed (9)\n",bfile->position);
318318 return(-1);
319319 }
320320
@@ -682,7 +682,7 @@
683683 /* leave the file at the right position */
684684 seekresult = lseek(fin, bfile->block_start, SEEK_SET);
685685 if (seekresult == (off_t)-1) {
686 - fprintf(stderr,"lseek of file to %"PRId64" failed (7)\n",bfile->position);
 686+ fprintf(stderr,"lseek of file to %"PRId64" failed (8)\n",bfile->position);
687687 return(-1);
688688 }
689689 bfile->position = seekresult;

Status & tagging log