Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Issue 3764004: Handle short read error correctly in vbutil_kernel.c (Closed)

Created:
10 years, 2 months ago by Bill Richardson
Modified:
9 years, 6 months ago
Reviewers:
Randall Spangler
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Handle short read error correctly in vbutil_kernel.c If you try to read a file that's all zeros, it tries to read a zero-length kernel blob, fails to do so (or suceeds with an empty result, depending on your point of view), and prints ERROR: Unable to read kernel blob from <file>: Success That's not very helpful. This change makes it say ERROR: No kernel blob found instead. Change-Id: I841ec6e288f47cd9b1f8e9ca1e6da0741ad20e9f BUG=none TEST=none Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=2f6a71f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M utility/vbutil_kernel.c View 5 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Bill Richardson
10 years, 2 months ago (2010-10-14 00:16:41 UTC) #1
Randall Spangler
10 years, 2 months ago (2010-10-14 00:25:39 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698