Skip to content

Commit a958f6e

Browse files
authored
Update main.rs
fix missing file argument
1 parent 1f6b914 commit a958f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-dump-composer/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fn handle(mut cc: config::CoreConfig) -> Result<(), anyhow::Error> {
131131
process::exit(1);
132132
}
133133
};
134-
AdvisoryFileLock.lock(FileLockMode::Exclusive)?;
134+
AdvisoryFileLock.lock(&file, FileLockMode::Exclusive)?;
135135
let mut zip = ZipWriter::new(&file);
136136

137137
debug!(

0 commit comments

Comments
 (0)