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:
a9b6a81
)
(cmd_file_handle) Fix msg() bug found by -Wformat.
author
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 05:45:01 +0000
(
05:45
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 05:45:01 +0000
(
05:45
+0000)
src/ChangeLog
patch
|
blob
|
history
src/file-handle.q
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 532c312469a1932186722ccf85e856c30457c915..b50b37e50f6bf4b3d10cd2d50c593279036ca4c4 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+Sat Jul 30 22:43:57 2005 Ben Pfaff <blp@gnu.org>
+
+ * file-handle.q: (cmd_file_handle) Fix msg() bug found by
+ -Wformat.
+
Sat Jul 30 22:41:44 2005 Ben Pfaff <blp@gnu.org>
* data-in.c: (parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to
Sat Jul 30 22:41:44 2005 Ben Pfaff <blp@gnu.org>
* data-in.c: (parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to
diff --git
a/src/file-handle.q
b/src/file-handle.q
index 6b155027f68b196778a46c89b84dcee58b92caf1..f1c5f19b14928b2d44c458827ce5cb1c3e5084f4 100644
(file)
--- a/
src/file-handle.q
+++ b/
src/file-handle.q
@@
-169,7
+169,7
@@
cmd_file_handle (void)
else if (cmd.n_lrecl[0] < 1)
{
msg (SE, _("Record length (%ld) must be at least one byte. "
else if (cmd.n_lrecl[0] < 1)
{
msg (SE, _("Record length (%ld) must be at least one byte. "
- "1-character records will be assumed."), cmd.n_lrecl);
+ "1-character records will be assumed."), cmd.n_lrecl
[0]
);
handle->length = 1;
}
else
handle->length = 1;
}
else