From a3f7b0e7a062724f8c2a2dac3bb2992ed7ad3148 Mon Sep 17 00:00:00 2001 From: dyoung Date: Thu, 20 Dec 2007 16:19:38 +0000 Subject: [PATCH] Constify. --- sys/nfs/nfs_bootdhcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/nfs/nfs_bootdhcp.c b/sys/nfs/nfs_bootdhcp.c index 81f489e4f6f2..ee77ac4afb52 100644 --- a/sys/nfs/nfs_bootdhcp.c +++ b/sys/nfs/nfs_bootdhcp.c @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_bootdhcp.c,v 1.36 2007/08/29 22:55:41 dyoung Exp $ */ +/* $NetBSD: nfs_bootdhcp.c,v 1.37 2007/12/20 16:19:38 dyoung Exp $ */ /*- * Copyright (c) 1995, 1997 The NetBSD Foundation, Inc. @@ -51,7 +51,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.36 2007/08/29 22:55:41 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_bootdhcp.c,v 1.37 2007/12/20 16:19:38 dyoung Exp $"); #include "opt_nfs_boot.h" #include "opt_tftproot.h" @@ -473,7 +473,7 @@ bootpc_call(nd, lwp) m = nam = NULL; /* Record our H/W (Ethernet) address. */ - { struct sockaddr_dl *sdl = ifp->if_sadl; + { const struct sockaddr_dl *sdl = ifp->if_sadl; switch (sdl->sdl_type) { case IFT_ISO88025: hafmt = HTYPE_IEEE802;