X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmidi-stream.cc;h=8b84798f6200ec454577493aed020b6dff2c0dbc;hb=b0e58f4a55426db0c5152b6bd008da186941c511;hp=bcaefe7c181fc461fde48f8a6b9b744c865321cf;hpb=5ed10e40db547f70f6f5b3ae2092ab0997d89fa3;p=lilypond.git diff --git a/lily/midi-stream.cc b/lily/midi-stream.cc index bcaefe7c18..8b84798f62 100644 --- a/lily/midi-stream.cc +++ b/lily/midi-stream.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Jan Nieuwenhuizen + (c) 1997--2009 Jan Nieuwenhuizen */ #include "midi-stream.hh" @@ -41,7 +41,7 @@ Midi_stream::write (string str) size_t written = fwrite (str.data (), sz, n, out_file_); if (written != sz * n) - warning (_ ("cannot write to file: `%s'")); + warning (_f ("cannot write to file: `%s'", str.data ())); } void