diff options
author | Paul Fox <pgf@laptop.org> | 2009-06-12 08:04:08 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-06-12 08:04:08 +0000 |
commit | d51410c3aeaf413a42eb4666995aaea44962c7e6 (patch) | |
tree | 40b9995299a34fce4ffbafbec230f2c4c6603acc | |
parent | b0d0f631bba0f0ac3beb967d88157c72b543c9be (diff) | |
download | flashrom-d51410c3aeaf413a42eb4666995aaea44962c7e6.tar.gz flashrom-d51410c3aeaf413a42eb4666995aaea44962c7e6.tar.bz2 flashrom-d51410c3aeaf413a42eb4666995aaea44962c7e6.zip |
Tell the user about the beginning and end of the write operation
Corresponding to flashrom svn r582.
Signed-off-by: Paul Fox <pgf@laptop.org>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r-- | flashrom.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -820,11 +820,13 @@ int main(int argc, char *argv[]) // //////////////////////////////////////////////////////////// if (write_it) { + printf("Writing flash chip... "); if (!flash->write) { fprintf(stderr, "Error: flashrom has no write function for this flash chip.\n"); return 1; } ret |= flash->write(flash, buf); + if (!ret) printf("COMPLETE.\n"); } if (verify_it) |