fingerprint: Fix section extraction using 'dump_fmap'

Previously, '/dev/stderr' was passed to 'dump_fmap' and it was
interpreted as a section. It was obviously wrong, but it worked because
'dump_fmap' silently ignored missing sections.

CL:5408907 fixed that behavior. Now 'dump_fmap' fails if section was not
found, which showed the problem.

BUG=b:333396118
TEST=Run fingerprint test suite

Change-Id: I32c113412523b600cac98db39e6ed7aeaeab8e96
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/5458434
Tested-by: Patryk Duda <patrykd@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Commit-Queue: Patryk Duda <patrykd@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/5524722
Commit-Queue: Bob Moragues <moragues@chromium.org>
Tested-by: Bob Moragues <moragues@chromium.org>
diff --git a/server/cros/faft/fingerprint_test.py b/server/cros/faft/fingerprint_test.py
index 8c5ca12..8cd7a09 100644
--- a/server/cros/faft/fingerprint_test.py
+++ b/server/cros/faft/fingerprint_test.py
@@ -1011,7 +1011,7 @@
         # value read from a section to a file (will not just print it to
         # stdout).
         cmd = 'dump_fmap -x ' + fw_file + ' ' + section +\
-              ':/dev/stderr /dev/stderr >& /dev/stdout > /dev/null'
+              ':/dev/stderr >& /dev/stdout > /dev/null'
         result = self.run_cmd(cmd)
         if result.exit_status != 0:
             raise error.TestFail('Failed to read section: %s' % section)