micro-activate: x86_64 type fix

This commit is contained in:
Val Packett 2025-12-04 07:19:37 -03:00
parent 0bd986f97f
commit 9a6cf18cc1

View file

@ -98,7 +98,7 @@ fn main() -> Result<(), std::io::Error> {
unsafe {
assert_eq!(
mount(
metadata_img.as_os_str().as_bytes().as_ptr(),
metadata_img.as_os_str().as_bytes().as_ptr() as *const c_char,
c"/run/etc.meta".as_ptr(),
c"erofs".as_ptr(),
MS_RDONLY | MS_NODEV | MS_NOSUID,