Fix snprintf with non format

snprintf was being called with environment variable.
If variable had format string (like %s) then program would crash.
1 file changed