Fixed incorrect struct access in sendPDO() and inserted a missing variable in sendOnePDOEvent(). These errors occured at compile-time when configuring the project with './configure --debug=PDO' or './configure --debug=WAR'.
#!/bin/sh
module="canf_ktest"
device="canf_ktest"
/sbin/rmmod $module || exit 1
/sbin/rmmod canfestival
/sbin/rmmod can_virtual
rm -f /dev/${device}