summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-06-30 09:19:06 +1000
committerChris Johns <chrisj@rtems.org>2016-06-30 09:19:06 +1000
commit912b6857924007981dfe6437286bde04367a729d (patch)
tree42efb7e91542023eb935f00afc8759dd7bf06b8d
parentFix fomatting and C++ guard. (diff)
downloadrtems-libbsd-912b6857924007981dfe6437286bde04367a729d.tar.bz2
Make the LibBSD PID match getpid().
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-kernel-space.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
index 2d119887..44f76fe1 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