Change mode of /tmp/temperature from 0755 to 0777
Fix bug: missing argument in printf()