use stderr for error messages, add interfaces as argument in udev_example1