Commit d747b76c authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Sequencer error message fix.

parent af7f901c
......@@ -383,15 +383,15 @@ static int midiOpenSeq(void)
if (midiSeqFD == -1) {
if (midi_warn)
{
MESSAGE("Can't open MIDI device '%s' ! (%s). If your
program needs this (probably not), %s\n",
MESSAGE("Can't open MIDI device '%s' ! (%s). If your "
"program needs this (probably not): %s\n",
MIDI_SEQ, strerror(errno),
errno == ENOENT ?
": create it ! (\"man MAKEDEV\" ?)" :
"create it ! (\"man MAKEDEV\" ?)" :
errno == ENODEV ?
": load MIDI sequencer kernel driver !" :
"load MIDI sequencer kernel driver !" :
errno == EACCES ?
": grant access ! (\"man chmod\")" : ""
"grant access ! (\"man chmod\")" : ""
);
}
midi_warn = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment