summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-10-12 14:10:44 -0500
committerJoel Sherrill <joel@rtems.org>2017-10-12 14:10:44 -0500
commitf15676fb8592a698420b5af6138579f469c826e8 (patch)
treecc5f1fcbc645a95eaac2ee0a4e75fd02ead25c03
parentFix warnings (diff)
downloadrtems-examples-f15676fb8592a698420b5af6138579f469c826e8.tar.bz2
Make crc and fdopen build
Updates #3158.
-rw-r--r--file_io/crc/init.c4
-rw-r--r--file_io/fdopen/fdopen.ini1
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.
;