main: Fix open() for the polling driver