1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Constify to please gcc 4.2.

This commit is contained in:
Olivier Houchard 2007-05-19 13:32:58 +00:00
parent 10c33eae44
commit 3de2f9db98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169764

View File

@ -547,7 +547,7 @@ int
set_mcontext(struct thread *td, const mcontext_t *mcp)
{
struct trapframe *tf = td->td_frame;
__greg_t *gr = mcp->__gregs;
const __greg_t *gr = mcp->__gregs;
tf->tf_r0 = gr[_REG_R0];
tf->tf_r1 = gr[_REG_R1];