/* culfw driver
*
- * Copyright (c) 2014 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2014-16 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
pfds[0].fd = dev->fd;
pfds[0].events = POLLIN;
- ret = poll(pfds, 1, timeout * 1000);
+ ret = poll(pfds, 1, timeout);
if (ret == -1)
return -1;