Cleanup: remove some noisy output from some utilities

There are a few utilities that print the full path of any file they open.
This isn't necessary, and it just has to be ignored when running regression
tests from different directories.

This just removes that extra noise.

BUG=chromium:224734
BRANCH=ToT
TEST=make runtests

Change-Id: I4291bca7952a0d7371f8682b7d57545361c6341c
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/207619
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Bill Richardson
2014-07-09 21:47:32 -07:00
committed by chrome-internal-fetch
parent 18e03706df
commit 71dc66a9b3
4 changed files with 0 additions and 8 deletions

View File

@@ -433,8 +433,6 @@ static int do_dump_fmap(int argc, char *argv[])
strerror(errno));
return 1;
}
if (FMT_NORMAL == opt_format)
printf("opened %s\n", argv[optind]);
base_of_rom = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
if (base_of_rom == (char*)-1) {

View File

@@ -1651,7 +1651,6 @@ int main(int argc, char *argv[])
strerror(errno));
exit(1);
}
printf("opened %s\n", infile);
// read input file into buffer
uint8_t *ibuf = malloc(isize);
@@ -1702,7 +1701,6 @@ int main(int argc, char *argv[])
strerror(errno));
goto done3;
}
printf("opened %s\n", outfile);
if (1 != fwrite(obuf, osize, 1, ofp)) {
fprintf(stderr, "%s: can't write %d bytes: %s\n",

View File

@@ -1050,7 +1050,6 @@ int main(int argc, char *argv[])
strerror(errno));
exit(1);
}
printf("opened %s\n", infile);
// read input file into buffer
uint8_t *ibuf = malloc(isize);
@@ -1129,7 +1128,6 @@ int main(int argc, char *argv[])
strerror(errno));
goto done4;
}
printf("opened %s\n", outfile);
if (1 != fwrite(obuf, osize, 1, ofp)) {
fprintf(stderr, "%s: can't write %d bytes: %s\n",

View File

@@ -240,8 +240,6 @@ int main(int argc, char* argv[]) {
exit(1);
}
printf("opened %s\n", image_path);
fmap = FmapFind((char*) base_of_rom, rom_size);
retval = DriveLoadFirmware(base_of_rom, fmap, boot_flags);