[vbox-dev] [PATCH] Correct comment - this file is for FreeBSD.

Ed Maste emaste at freebsd.org
Tue Sep 25 17:04:46 GMT 2012


It appears src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h
was originally copied from
src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h but some comments
were not updated.

---
 src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h b/src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h
index b966d1a..a638dd9 100644
--- a/src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h
+++ b/src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h
@@ -36,7 +36,7 @@
 #include <iprt/time.h>

 /**
- * Kernel mode Linux wait state structure.
+ * Kernel mode FreeBSD wait state structure.
  */
 typedef struct RTR0SEMBSDSLEEP
 {
@@ -259,7 +259,7 @@ DECLINLINE(void) rtR0SemBsdWaitDoIt(PRTR0SEMBSDSLEEP pWait)
  *
  * @returns true / false
  * @param   pWait               The wait structure.
- * @remarks This shall be called before the first rtR0SemLnxWaitDoIt().
+ * @remarks This shall be called before the first rtR0SemBsdWaitDoIt().
  */
 DECLINLINE(bool) rtR0SemBsdWaitWasInterrupted(PRTR0SEMBSDSLEEP pWait)
 {
--
1.7.11.5




More information about the vbox-dev mailing list