projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25fae05
)
Fix const-correctness in error().
author
Ben Pfaff
<blp@gnu.org>
Sat, 12 Mar 2005 01:12:16 +0000
(
01:12
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Sat, 12 Mar 2005 01:12:16 +0000
(
01:12
+0000)
src/pfm-read.c
patch
|
blob
|
history
diff --git
a/src/pfm-read.c
b/src/pfm-read.c
index 3e20f0396561344876a4ee23e44b9065e2148304..52e32325ff450c6259bc37cba15fd28bdeaa45e8 100644
(file)
--- a/
src/pfm-read.c
+++ b/
src/pfm-read.c
@@
-82,7
+82,7
@@
error (struct pfm_reader *r, const char *msg, ...)
getl_location (&e.where.filename, &e.where.line_number);
filename = handle_get_filename (r->fh);
e.title = title = pool_alloc (r->pool, strlen (filename) + 80);
- sprintf (
e.
title, _("portable file %s corrupt at offset %ld: "),
+ sprintf (title, _("portable file %s corrupt at offset %ld: "),
filename, ftell (r->file));
va_start (args, msg);