Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2008 23:58:36 GMT
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 143327 for review
Message-ID:  <200806112358.m5BNwab6014549@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143327

Change 143327 by julian@julian_trafmon1 on 2008/06/11 23:57:39

	two more files that shouldn't have been edited.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/boot/common/dev_net.c#3 edit
.. //depot/projects/vimage-commit2/src/sys/boot/i386/libi386/pxe.c#3 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/boot/common/dev_net.c#3 (text+ko) ====

@@ -62,7 +62,6 @@
 #include <machine/stdarg.h>
 #include <sys/param.h>
 #include <sys/socket.h>
-#include <sys/vimage.h>
 #include <net/if.h>
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
@@ -246,7 +245,7 @@
 	return (EIO);
     }
     if (debug)
-        printf("net_open: client name: %s\n", V_hostname);
+        printf("net_open: client name: %s\n", hostname);
 
     /*
      * Ignore the gateway from whoami (unreliable).

==== //depot/projects/vimage-commit2/src/sys/boot/i386/libi386/pxe.c#3 (text+ko) ====

@@ -27,7 +27,6 @@
  */
 
 #include <sys/cdefs.h>
-#include <sys/vimage.h>
 __FBSDID("$FreeBSD: src/sys/boot/i386/libi386/pxe.c,v 1.23 2007/10/12 17:09:43 ps Exp $");
 
 #include <stand.h>
@@ -309,7 +308,7 @@
 		}
 		setenv("boot.nfsroot.server", inet_ntoa(rootip), 1);
 		setenv("boot.nfsroot.path", rootpath, 1);
-		setenv("dhcp.host-name", V_hostname, 1);
+		setenv("dhcp.host-name", hostname, 1);
 	}
     }
     pxe_opens++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806112358.m5BNwab6014549>