PERFORCE change 143327 for review

Julian Elischer julian at FreeBSD.org
Wed Jun 11 23:58:37 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=143327

Change 143327 by julian at 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++;


More information about the p4-projects mailing list