Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
luodeb committed May 8, 2024
1 parent d5fccd1 commit f030083
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions modules/axprocess/src/stdio.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use axerrno::{AxError, AxResult};
use axfs::api::port::{
ConsoleWinSize, FileExt, FileIO, FileIOType, OpenFlags, TCGETS, TIOCGPGRP, TIOCGWINSZ,
TIOCSPGRP, FIONBIO, FIOCLEX,
ConsoleWinSize, FileExt, FileIO, FileIOType, OpenFlags, FIOCLEX, FIONBIO, TCGETS, TIOCGPGRP,
TIOCGWINSZ, TIOCSPGRP,
};
use axhal::console::{getchar, write_bytes};
use axio::{Read, Seek, SeekFrom, Write};
Expand Down Expand Up @@ -132,7 +132,7 @@ impl FileIO for Stdin {
}
Ok(0)
}
FIOCLEX => Ok(0),
FIOCLEX => Ok(0),
_ => Err(AxError::Unsupported),
}
}
Expand Down Expand Up @@ -376,5 +376,5 @@ impl FileIO for Stderr {
FIOCLEX => Ok(0),
_ => Err(AxError::Unsupported),
}
}
}
}
2 changes: 1 addition & 1 deletion ulib/axstarry/src/syscall_fs/fs_syscall_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub enum FsSyscallId {
FCNTL64 = 25,
IOCTL = 29,
MKDIRAT = 34,
SYMLINKAT = 36,
SYMLINKAT = 36,
UNLINKAT = 35,
LINKAT = 37,
RENAMEAT = 38,
Expand Down

0 comments on commit f030083

Please sign in to comment.