https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108383
Revision: 108383
Author: ariel
Date: 2012-01-09 08:32:59 +0000 (Mon, 09 Jan 2012)
Log Message:
-----------
tweak a couple error messages
Modified Paths:
--------------
branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c
Modified: branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c
===================================================================
--- branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c 2012-01-09 06:36:40 UTC
(rev 108382)
+++ branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c 2012-01-09 08:32:59 UTC
(rev 108383)
@@ -313,7 +313,7 @@
}
seekresult = lseek(fin, bfile->position, SEEK_SET);
if (seekresult == (off_t)-1) {
- fprintf(stderr,"lseek of file to %"PRId64" failed (7)\n",bfile->position);
+ fprintf(stderr,"lseek of file to %"PRId64" failed (9)\n",bfile->position);
return(-1);
}
@@ -682,7 +682,7 @@
/* leave the file at the right position */
seekresult = lseek(fin, bfile->block_start, SEEK_SET);
if (seekresult == (off_t)-1) {
- fprintf(stderr,"lseek of file to %"PRId64" failed
(7)\n",bfile->position);
+ fprintf(stderr,"lseek of file to %"PRId64" failed
(8)\n",bfile->position);
return(-1);
}
bfile->position = seekresult;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs