Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
cdbc784a
Commit
cdbc784a
authored
Mar 22, 2004
by
Mike Hibler
Browse files
clarify in output that the numbers are sectors
parent
e6b3f7c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
os/imagezip/imagehash.c
View file @
cdbc784a
...
...
@@ -498,7 +498,7 @@ checkhash(char *name, struct hashinfo *hinfo)
*/
if
(
reportbad
)
{
if
(
detail
)
fprintf
(
stderr
,
"%s: bad hash [%u-%u]
\n
"
,
fprintf
(
stderr
,
"%s: bad hash
for sectors
[%u-%u]
\n
"
,
name
,
badstart
,
badstart
+
badsize
-
1
);
reportbad
=
inbad
=
0
;
}
...
...
@@ -507,7 +507,7 @@ checkhash(char *name, struct hashinfo *hinfo)
* Finished on a sour note, report the final bad stretch.
*/
if
(
inbad
&&
detail
)
fprintf
(
stderr
,
"%s: bad hash [%u-%u]
\n
"
,
fprintf
(
stderr
,
"%s: bad hash
for sectors
[%u-%u]
\n
"
,
name
,
badstart
,
badstart
+
badsize
-
1
);
stopreader
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment