Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 00:30:39 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325748 - head/sys/boot/userboot/test
Message-ID:  <201711130030.vAD0Udrn013552@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Nov 13 00:30:38 2017
New Revision: 325748
URL: https://svnweb.freebsd.org/changeset/base/325748

Log:
  Use proper include file. While <boot/userboot/userboot.h> works, it
  only works because we have -Isys on the command line. We also have
  -Isys/boot/userboot on the command line, so bring it in directly with
  <userboot.h>. No functional change, but it removes one hard to see
  dependency on the boot loader's location in sys/boot.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/userboot/test/test.c

Modified: head/sys/boot/userboot/test/test.c
==============================================================================
--- head/sys/boot/userboot/test/test.c	Sun Nov 12 23:13:04 2017	(r325747)
+++ head/sys/boot/userboot/test/test.c	Mon Nov 13 00:30:38 2017	(r325748)
@@ -44,7 +44,7 @@
 #include <termios.h>
 #include <unistd.h>
 
-#include <boot/userboot/userboot.h>
+#include <userboot.h>
 
 char *host_base = NULL;
 struct termios term, oldterm;



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