Sequencer error message fix.
This commit is contained in:
parent
af7f901c9c
commit
d747b76cb6
|
@ -383,15 +383,15 @@ static int midiOpenSeq(void)
|
||||||
if (midiSeqFD == -1) {
|
if (midiSeqFD == -1) {
|
||||||
if (midi_warn)
|
if (midi_warn)
|
||||||
{
|
{
|
||||||
MESSAGE("Can't open MIDI device '%s' ! (%s). If your
|
MESSAGE("Can't open MIDI device '%s' ! (%s). If your "
|
||||||
program needs this (probably not), %s\n",
|
"program needs this (probably not): %s\n",
|
||||||
MIDI_SEQ, strerror(errno),
|
MIDI_SEQ, strerror(errno),
|
||||||
errno == ENOENT ?
|
errno == ENOENT ?
|
||||||
": create it ! (\"man MAKEDEV\" ?)" :
|
"create it ! (\"man MAKEDEV\" ?)" :
|
||||||
errno == ENODEV ?
|
errno == ENODEV ?
|
||||||
": load MIDI sequencer kernel driver !" :
|
"load MIDI sequencer kernel driver !" :
|
||||||
errno == EACCES ?
|
errno == EACCES ?
|
||||||
": grant access ! (\"man chmod\")" : ""
|
"grant access ! (\"man chmod\")" : ""
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
midi_warn = 0;
|
midi_warn = 0;
|
||||||
|
|
Loading…
Reference in New Issue