mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-10-28 15:25:03 -04:00
Addressing FreeBSD compile issue
This commit is contained in:
parent
104ffdc2dc
commit
bc93712314
@ -101,7 +101,7 @@ impl ToErrKind for rusqlite::types::FromSqlError {
|
||||
impl ToErrKind for nix::Error {
|
||||
fn err_kind(&self) -> ErrorKind {
|
||||
use nix::Error;
|
||||
match self {
|
||||
match *self {
|
||||
Error::EACCES | Error::EPERM => ErrorKind::PermissionDenied,
|
||||
Error::EDQUOT => ErrorKind::ResourceExhausted,
|
||||
Error::EBUSY
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user