[examples-v2 commit] Make crc and fdopen build

Joel Sherrill joel at rtems.org
Thu Oct 12 19:11:19 UTC 2017


Module:    examples-v2
Branch:    master
Commit:    f15676fb8592a698420b5af6138579f469c826e8
Changeset: http://git.rtems.org/examples-v2/commit/?id=f15676fb8592a698420b5af6138579f469c826e8

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Oct 12 14:10:44 2017 -0500

Make crc and fdopen build

Updates #3158.

---

 file_io/crc/init.c        | 4 ++--
 file_io/fdopen/fdopen.ini | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/file_io/crc/init.c b/file_io/crc/init.c
index 015da47..4888e70 100644
--- a/file_io/crc/init.c
+++ b/file_io/crc/init.c
@@ -15,7 +15,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "FilesystemImage.h"
+#include "fs-root-tar.h"
 #include <rtems/untar.h>
 
 /* sha-specific includes */
@@ -35,7 +35,7 @@ rtems_task Init(
   puts( "\n\n*** untar/imfs/crc example ***" );
 
   printf("Unpacking tar filesystem\nThis may take awhile...\n");
-  if(Untar_FromMemory((char*) FilesystemImage, FilesystemImage_size) != 0) {
+  if(Untar_FromMemory((char*) fs_root_tar, fs_root_tar_size) != 0) {
     printf("Can't unpack tar filesystem\n");
     exit(1);
   }
diff --git a/file_io/fdopen/fdopen.ini b/file_io/fdopen/fdopen.ini
index c90ad15..5ee15eb 100644
--- a/file_io/fdopen/fdopen.ini
+++ b/file_io/fdopen/fdopen.ini
@@ -10,7 +10,6 @@ name = FD Open RTEMS Tracer
 ; Options can be defined here or on the command line.
 ;
 ;options = verbose, verbose
-options = dump-on-error
 ;
 ; Functions to trace.
 ;



More information about the vc mailing list