Fix for this error is here:
https://github.com/kripton/smartcam_linux/commit/7ef4168e068957a5cf63ea35494e8b5589402b99
direct patch: https://github.com/kripton/smartcam_linux/commit/7ef4168e068957a5cf63ea35494e8b5589402b99.diff.
2013-01-02 13:34:41 PST in SmartCam