/* culfw driver
*
- * Copyright (c) 2013 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2014 Michael Gernoth <michael@gernoth.net>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
dev->cb(buf, r, dev->cb_data);
- return pfds[0].fd;
+ errno = 0;
+ return -1;
}
void culfw_close(struct culfw_dev *dev)