summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-28 07:49:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-28 07:50:14 +0100
commit4ed738a0f45ff4bedaa19fd514fb839760ef8e00 (patch)
tree6b5514fc5503bce4e57b945c1e8c051379a1f5e6
parentbuild: Add RTEMS test library (diff)
downloadrtems-libbsd-4ed738a0f45ff4bedaa19fd514fb839760ef8e00.tar.bz2
CONTRIBUTING: Fix sed command example
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5b957264..78be5ca6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -194,7 +194,7 @@ original FreeBSD code.
```
The following command may be useful:
```
- sed -i 's%#include <machine/rtems-bsd-user-space.h>%#include <machine/rtems-bsd-user-space.h>\n#ifdef __rtems__\n#include <machine/rtems-bsd-program.h>\n#include "rtems-bsd-PROGNAME-namespace.h"\n#endif /* __rtems__ */%' *.c
+ sed -i 's%#include <machine/rtems-bsd-user-space.h>%#include <machine/rtems-bsd-user-space.h>\n\n#ifdef __rtems__\n#include <machine/rtems-bsd-program.h>\n#include "rtems-bsd-PROGNAME-namespace.h"\n#endif /* __rtems__ */%' *.c
```
* At the bottom of each source file place the follwing:
```c