replace tools::vec with proxmox::tools::vec

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-07-01 11:03:25 +02:00
parent d0162d53d3
commit f35197f449
6 changed files with 8 additions and 105 deletions

View File

@ -4,8 +4,10 @@ extern crate libc;
use std::os::unix::io::RawFd;
use nix::errno::Errno;
use proxmox::tools::vec;
use crate::pxar::{CaFormatXAttr, CaFormatFCaps};
use crate::tools::vec;
pub fn flistxattr(fd: RawFd) -> Result<Vec<u8>, nix::errno::Errno> {
// Initial buffer size for the attribute list, if content does not fit