diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-10 12:31:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-10 12:31:24 +0000 |
commit | 6b3251024eafed21fd1f959dd3403eea5f520cc6 (patch) | |
tree | 71c753c7e8d0c4db5e1bc1fde6ad4e86ffa6f8db /sys/nfs | |
parent | 02ca3f3ee25cc0505314e846136b6e767eb83de8 (diff) |
if_name/if_unit -> if_xname/if_softc
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_boot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_boot.c b/sys/nfs/nfs_boot.c index 3ad4e535ba8..f40a4883fd1 100644 --- a/sys/nfs/nfs_boot.c +++ b/sys/nfs/nfs_boot.c @@ -1,5 +1,5 @@ -/* $OpenBSD: nfs_boot.c,v 1.4 1996/03/31 13:15:34 mickey Exp $ */ -/* $NetBSD: nfs_boot.c,v 1.25 1996/02/18 11:53:41 fvdl Exp $ */ +/* $OpenBSD: nfs_boot.c,v 1.5 1996/05/10 12:31:01 deraadt Exp $ */ +/* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */ /* * Copyright (c) 1995 Adam Glass, Gordon Ross @@ -144,7 +144,7 @@ nfs_boot_init(nd, procp) break; if (ifp == NULL) panic("nfs_boot: no suitable interface"); - sprintf(ireq.ifr_name, "%s%d", ifp->if_name, ifp->if_unit); + bcopy(ifp->if_xname, ireq.ifr_name, IFNAMSIZ); printf("nfs_boot: using network interface '%s'\n", ireq.ifr_name); |