mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Duh. Fix a fatfingered patch.
This commit is contained in:
parent
39d9385710
commit
8567cb9f5d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62088
@ -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 New Issue
Block a user