summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-02 12:56:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-02 12:56:39 +0000
commite080db993601ad735cc023ecf11bffbf70515afd (patch)
tree438986f9385c3c2dbfb44497dc62c42ac5903ff3 /nuttx
parent658313bd4f7676ac9a1386f311390af716984bb6 (diff)
downloadpx4-nuttx-e080db993601ad735cc023ecf11bffbf70515afd.tar.gz
px4-nuttx-e080db993601ad735cc023ecf11bffbf70515afd.tar.bz2
px4-nuttx-e080db993601ad735cc023ecf11bffbf70515afd.zip
cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@795 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/examples/pipe/redirect_test.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/examples/pipe/redirect_test.c b/nuttx/examples/pipe/redirect_test.c
index 727dfa4db..f9ec0e33b 100644
--- a/nuttx/examples/pipe/redirect_test.c
+++ b/nuttx/examples/pipe/redirect_test.c
@@ -213,15 +213,15 @@ static int redirect_writer(int argc, char *argv[])
nbytes += printf("We have come to dedicate a portion of that field, as a final resting place for those who here\n");
nbytes += printf("gave their lives that that nation might live. It is altogether fitting and proper that we\n");
nbytes += printf("should do this.\n");
- nbytes += printf("\nBut, in a larger sense, we can not dedicate—we can not consecrate—we can not hallow—this ground.\n");
+ nbytes += printf("\nBut, in a larger sense, we can not dedicate - we can not consecrate - we can not hallow - this ground.\n");
nbytes += printf("The brave men, living and dead, who struggled here, have consecrated it, far above our poor power\n");
nbytes += printf("to add or detract. The world will little note, nor long remember what we say here, but it can\n");
nbytes += printf("never forget what they did here. It is for us the living, rather, to be dedicated here to the\n");
nbytes += printf("unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to\n");
- nbytes += printf("be here dedicated to the great task remaining before us—that from these honored dead we take\n");
- nbytes += printf("increased devotion to that cause for which they gave the last full measure of devotion—that we\n");
- nbytes += printf("here highly resolve that these dead shall not have died in vain—that this nation, under God,\n");
- nbytes += printf("shall have a new birth of freedom—and that government of the people, by the people, for the\n");
+ nbytes += printf("be here dedicated to the great task remaining before us - that from these honored dead we take\n");
+ nbytes += printf("increased devotion to that cause for which they gave the last full measure of devotion - that we\n");
+ nbytes += printf("here highly resolve that these dead shall not have died in vain - that this nation, under God,\n");
+ nbytes += printf("shall have a new birth of freedom - and that government of the people, by the people, for the\n");
nbytes += printf("people, shall not perish from the earth.\n\n");
fflush(stdout);
@@ -318,6 +318,7 @@ int redirection_test(void)
/* Wait for redirect_writer thread to complete */
printf("redirection_test: Waiting...\n");
+ fflush(stdout);
sem_wait(&g_rddone);
printf("redirection_test: returning %d\n", ret);