/*
- * "$Id: parallel.c,v 1.29.2.2 2002/01/02 18:04:18 mike Exp $"
+ * "$Id: parallel.c,v 1.29.2.3 2002/01/18 16:48:00 mike Exp $"
*
* Parallel port backend for the Common UNIX Printing System (CUPS).
*
}
else
{
- perror("ERROR: Unable to open parallel port device file");
+ fprintf(stderr, "ERROR: Unable to open parallel port device file \"%s\": %s\n",
+ resource, strerror(errno));
return (1);
}
}
/*
- * End of "$Id: parallel.c,v 1.29.2.2 2002/01/02 18:04:18 mike Exp $".
+ * End of "$Id: parallel.c,v 1.29.2.3 2002/01/18 16:48:00 mike Exp $".
*/
/*
- * "$Id: serial.c,v 1.32.2.3 2002/01/02 18:04:18 mike Exp $"
+ * "$Id: serial.c,v 1.32.2.4 2002/01/18 16:48:01 mike Exp $"
*
* Serial port backend for the Common UNIX Printing System (CUPS).
*
}
else
{
- perror("ERROR: Unable to open serial port device file");
+ fprintf(stderr, "ERROR: Unable to open serial port device file \"%s\": %s\n",
+ resource, strerror(errno));
return (1);
}
}
/*
- * End of "$Id: serial.c,v 1.32.2.3 2002/01/02 18:04:18 mike Exp $".
+ * End of "$Id: serial.c,v 1.32.2.4 2002/01/18 16:48:01 mike Exp $".
*/
/*
- * "$Id: usb.c,v 1.18.2.2 2002/01/02 18:04:18 mike Exp $"
+ * "$Id: usb.c,v 1.18.2.3 2002/01/18 16:48:01 mike Exp $"
*
* USB port backend for the Common UNIX Printing System (CUPS).
*
}
else
{
- perror("ERROR: Unable to open USB port device file");
+ fprintf(stderr, "ERROR: Unable to open USB port device file \"%s\": %s\n",
+ resource, strerror(errno));
return (1);
}
}
/*
- * End of "$Id: usb.c,v 1.18.2.2 2002/01/02 18:04:18 mike Exp $".
+ * End of "$Id: usb.c,v 1.18.2.3 2002/01/18 16:48:01 mike Exp $".
*/