commit | 1c24dd0129420f9b991152dfb210fa3861a3049c | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Mon Jan 23 14:47:35 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jan 23 14:47:35 2023 +0000 |
tree | 9b70889e734e95d6994e33f95616fc050995976a | |
parent | ac2eaf937764f5cc20de83cc710bf1da53c6acc8 [diff] | |
parent | 48294fb298c3213fe11d15283299428d913fd67b [diff] |
Merge "Fix warning."
diff --git a/encryptedstore/src/main.rs b/encryptedstore/src/main.rs index 888485b..2f54534 100644 --- a/encryptedstore/src/main.rs +++ b/encryptedstore/src/main.rs
@@ -63,7 +63,7 @@ fn encryptedstore_init(blkdevice: &Path, key: &str, mountpoint: &Path) -> Result<()> { ensure!( - std::fs::metadata(&blkdevice) + std::fs::metadata(blkdevice) .context(format!("Failed to get metadata of {:?}", blkdevice))? .file_type() .is_block_device(),