[rtems-libbsd commit] Make the LibBSD PID match getpid().

Chris Johns chrisj at rtems.org
Wed Jun 29 23:20:11 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    912b6857924007981dfe6437286bde04367a729d
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=912b6857924007981dfe6437286bde04367a729d

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Jun 30 09:19:06 2016 +1000

Make the LibBSD PID match getpid().

---

 rtemsbsd/include/machine/rtems-bsd-kernel-space.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
index 2d11988..44f76fe 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
@@ -70,7 +70,7 @@ void rtems_bsd_assert_func(const char *file, int line, const char *func, const c
 
 #define BSD_DEFAULT_FIB 0
 
-#define BSD_DEFAULT_PID 0
+#define BSD_DEFAULT_PID 1 /* Must match getid() */
 
 #define BSD_DEFAULT_UID 0
 




More information about the vc mailing list