(cmd_file_handle) Fix msg() bug found by -Wformat.
[pspp-builds.git] / src / file-handle.q
index 6b155027f68b196778a46c89b84dcee58b92caf1..f1c5f19b14928b2d44c458827ce5cb1c3e5084f4 100644 (file)
@@ -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