record_file
if (record_file(path, 8) < 0) {
if (record_file(path, 8) < 0) {
err = record_file(format, 8);
err = record_file(path, 4);
err = record_file(path, 8);
err = record_file(tdata->temp_file, 0);