diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-06-29 00:48:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 00:48:49 -0400 |
commit | 9c368815ddf91fc147406cad534e1d53fb8f6125 (patch) | |
tree | 4fb4ca08e2e158fc8cfa54f3e8ed3ff08613a0ea /src/app/data_harvester | |
parent | fc027ece68bac2b1f833ff839e0366097e91c2c6 (diff) |
deps: bump deps as of 2023-06-29 (#1233)
* deps: bump deps as of 2023-06-29, clean up Cargo.toml a bit
* fix deprecated function call
Diffstat (limited to 'src/app/data_harvester')
-rw-r--r-- | src/app/data_harvester/processes/linux/process.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/data_harvester/processes/linux/process.rs b/src/app/data_harvester/processes/linux/process.rs index 90f6b525..95182c82 100644 --- a/src/app/data_harvester/processes/linux/process.rs +++ b/src/app/data_harvester/processes/linux/process.rs @@ -212,7 +212,7 @@ impl Process { // TODO: Pass in a buffer vec/string to share? let fd = rustix::fs::openat( - rustix::fs::cwd(), + rustix::fs::CWD, &pid_path, OFlags::PATH | OFlags::DIRECTORY | OFlags::CLOEXEC, Mode::empty(), @@ -224,7 +224,7 @@ impl Process { .last() .and_then(|s| s.to_string_lossy().parse::<Pid>().ok()) .or_else(|| { - rustix::fs::readlinkat(rustix::fs::cwd(), &pid_path, vec![]) + rustix::fs::readlinkat(rustix::fs::CWD, &pid_path, vec![]) .ok() .and_then(|s| s.to_string_lossy().parse::<Pid>().ok()) }) |