Skip to content

Commit 9befd29

Browse files
committed
status: Use constant for composefs
Signed-off-by: Colin Walters <[email protected]>
1 parent e2bb9ce commit 9befd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/lib/src/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub(crate) fn composefs_booted() -> Result<Option<&'static str>> {
6969
return Ok(v.as_deref());
7070
}
7171
let cmdline = crate::kernel_cmdline::Cmdline::from_proc()?;
72-
let Some(kv) = cmdline.find_str("composefs") else {
72+
let Some(kv) = cmdline.find_str(COMPOSEFS_CMDLINE) else {
7373
return Ok(None);
7474
};
7575
let Some(v) = kv.value else { return Ok(None) };

0 commit comments

Comments
 (0)