Constify.

This commit is contained in:
dyoung 2007-12-20 16:19:38 +00:00
parent c9b4d7e0b1
commit a3f7b0e7a0
1 changed files with 3 additions and 3 deletions

View File

@ -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 <sys/cdefs.h>
__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;