Skip to content

Commit 02f85d4

Browse files
ericcurtinqwencoder
andcommitted
blockdev: Fix formatting
Apply cargo fmt to fix line wrapping in run_loopback_cleanup_helper. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent fb96633 commit 02f85d4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/blockdev/src/blockdev.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ pub async fn run_loopback_cleanup_helper(device_path: &str) -> Result<()> {
433433
// SIGTERM = 15
434434
let ret = prctl(PR_SET_PDEATHSIG, libc::SIGTERM as libc::c_ulong);
435435
if ret != 0 {
436-
return Err(std::io::Error::last_os_error()).context("Failed to set parent death signal");
436+
return Err(std::io::Error::last_os_error())
437+
.context("Failed to set parent death signal");
437438
}
438439
}
439440

0 commit comments

Comments
 (0)