summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/imgact_linux.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-03 22:19:16 +0000
committerbde <bde@FreeBSD.org>1996-09-03 22:19:16 +0000
commit0094309d97547603230ebb2e58448d293a1a8bd0 (patch)
treee718b1653973cd4423582ea0631e616c57522f61 /sys/i386/linux/imgact_linux.c
parent71f52f86a26007b24ae26b70765f0363029b59ff (diff)
downloadFreeBSD-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.c4
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;
OpenPOWER on IntegriCloud