[BACK]Return to midiplay.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / midiplay

Diff for /src/usr.bin/midiplay/Attic/midiplay.c between version 1.13 and 1.14

version 1.13, 2011/04/28 07:23:46 version 1.14, 2011/09/20 18:35:24
Line 36 
Line 36 
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <limits.h>  #include <limits.h>
 #include <fcntl.h>  
 #include <err.h>  #include <err.h>
 #include <unistd.h>  #include <unistd.h>
 #include <string.h>  #include <string.h>
Line 448 
Line 447 
         argv += optind;          argv += optind;
   
         hdl = mio_open(file, MIO_OUT, 0);          hdl = mio_open(file, MIO_OUT, 0);
         if (hdl == NULL) {          if (hdl == NULL)
                 fprintf(stderr, "failed to open MIDI output\n");                  errx(1, "failed to open MIDI output");
                 exit(1);  
         }  
         if (gmreset)          if (gmreset)
                 midireset();                  midireset();
   

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14