Addressing FreeBSD compile issue

This commit is contained in:
Jared Wolff 2025-06-18 20:44:01 -04:00 committed by Scott Lamb
parent 104ffdc2dc
commit bc93712314

View File

@ -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