Skip to content

Commit 04412be

Browse files
Rename "sys" module to "ipc"
1 parent 0b94860 commit 04412be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

plib/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
pub mod curuser;
1111
pub mod group;
1212
pub mod io;
13+
pub mod ipc;
1314
pub mod lzw;
1415
pub mod modestr;
1516
pub mod platform;
1617
pub mod priority;
1718
pub mod sccsfile;
18-
pub mod sys;
1919
pub mod terminal;
2020
pub mod testing;
2121
pub mod utmpx;

sys/ipcs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn display_message_queues(_args: &Args) {
8686
break;
8787
}
8888

89-
let key = plib::sys::get_key_from_msqid_ds(&msg_ds);
89+
let key = plib::ipc::get_key_from_msqid_ds(&msg_ds);
9090
let mode = msg_ds.msg_perm.mode;
9191
let uid = msg_ds.msg_perm.uid;
9292
let gid = msg_ds.msg_perm.gid;
@@ -150,7 +150,7 @@ fn display_shared_memory(_args: &Args) {
150150
continue;
151151
}
152152

153-
let key = plib::sys::get_key_from_ipc_perm(&shmbuf.shm_perm);
153+
let key = plib::ipc::get_key_from_ipc_perm(&shmbuf.shm_perm);
154154
let mode = shmbuf.shm_perm.mode;
155155
let uid = shmbuf.shm_perm.uid;
156156
let gid = shmbuf.shm_perm.gid;

0 commit comments

Comments
 (0)