micro-activate: x86_64 type fix
This commit is contained in:
parent
0bd986f97f
commit
9a6cf18cc1
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
unsafe {
|
unsafe {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
mount(
|
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"/run/etc.meta".as_ptr(),
|
||||||
c"erofs".as_ptr(),
|
c"erofs".as_ptr(),
|
||||||
MS_RDONLY | MS_NODEV | MS_NOSUID,
|
MS_RDONLY | MS_NODEV | MS_NOSUID,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue