From: Ben Pfaff Date: Sun, 31 Jul 2005 05:45:01 +0000 (+0000) Subject: (cmd_file_handle) Fix msg() bug found by -Wformat. X-Git-Tag: v0.4.0~19 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea5547d895d8b0930868378f3eeed39bb3ec731;p=pspp-builds.git (cmd_file_handle) Fix msg() bug found by -Wformat. --- diff --git a/src/ChangeLog b/src/ChangeLog index 532c3124..b50b37e5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 30 22:43:57 2005 Ben Pfaff + + * file-handle.q: (cmd_file_handle) Fix msg() bug found by + -Wformat. + Sat Jul 30 22:41:44 2005 Ben Pfaff * 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 6b155027..f1c5f19b 100644 --- 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. " - "1-character records will be assumed."), cmd.n_lrecl); + "1-character records will be assumed."), cmd.n_lrecl[0]); handle->length = 1; } else