~mdz/usplash/misc

« back to all changes in this revision

Viewing changes to usplash_write.c

  • Committer: Scott James Remnant
  • Date: 2006-06-21 10:30:52 UTC
  • Revision ID: scott@netsplit.com-20060621103052-45cece5b0b779e5b
check for ENODEV before printing the error

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
        fifo_fd = open (USPLASH_FIFO, O_WRONLY|O_NONBLOCK);
53
53
        if (fifo_fd < 0) {
54
 
                perror ("open");
 
54
                if (errno != ENODEV)
 
55
                        perror ("open");
55
56
                exit (0);
56
57
        }
57
58