diff options
author | bde <bde@FreeBSD.org> | 1996-09-03 22:19:16 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-03 22:19:16 +0000 |
commit | 0094309d97547603230ebb2e58448d293a1a8bd0 (patch) | |
tree | e718b1653973cd4423582ea0631e616c57522f61 /sys/i386/linux/imgact_linux.c | |
parent | 71f52f86a26007b24ae26b70765f0363029b59ff (diff) | |
download | FreeBSD-src-0094309d97547603230ebb2e58448d293a1a8bd0.zip FreeBSD-src-0094309d97547603230ebb2e58448d293a1a8bd0.tar.gz |
Fixed some more easy cases of const poisoning in the kernel. Cosmetic.
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 cef58c5..53db402 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; |