mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
Duh. Fix a fatfingered patch.
This commit is contained in:
parent
39d9385710
commit
8567cb9f5d
2 changed files with 2 additions and 2 deletions
|
|
@ -217,10 +217,10 @@ memmmap(dev_t dev, vm_offset_t offset, int prot)
|
|||
/* minor device 1 is kernel memory */
|
||||
case 1:
|
||||
return i386_btop(vtophys(offset));
|
||||
}
|
||||
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -217,10 +217,10 @@ memmmap(dev_t dev, vm_offset_t offset, int prot)
|
|||
/* minor device 1 is kernel memory */
|
||||
case 1:
|
||||
return i386_btop(vtophys(offset));
|
||||
}
|
||||
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue