diff options
author | Bruce Evans <bde@FreeBSD.org> | 1996-09-03 22:19:16 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1996-09-03 22:19:16 +0000 |
commit | f58609f0c62278e023a5ba4d6926ef33dc091635 (patch) | |
tree | e718b1653973cd4423582ea0631e616c57522f61 /sys/i386/linux/imgact_linux.c | |
parent | a390940e3f30085235b683fba6fa061c0f4374ba (diff) | |
download | src-f58609f0c62278e023a5ba4d6926ef33dc091635.tar.gz src-f58609f0c62278e023a5ba4d6926ef33dc091635.zip |
Fixed some more easy cases of const poisoning in the kernel. Cosmetic.
Notes
Notes:
svn path=/head/; revision=18024
Diffstat (limited to 'sys/i386/linux/imgact_linux.c')
-rw-r--r-- | sys/i386/linux/imgact_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index cef58c57790a..53db4028799f 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -28,7 +28,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_linux.c,v 1.14 1996/05/01 02:42:32 bde Exp $ + * $Id: imgact_linux.c,v 1.15 1996/05/02 10:43:12 phk Exp $ */ #include <sys/param.h> @@ -61,7 +61,7 @@ int exec_linux_imgact(imgp) struct image_params *imgp; { - struct exec *a_out = (struct exec *) imgp->image_header; + const struct exec *a_out = (const struct exec *) imgp->image_header; struct vmspace *vmspace = imgp->proc->p_vmspace; vm_offset_t vmaddr; unsigned long virtual_offset, file_offset; |