mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Add forgotten format specifier in a KASSERT and shut up the compiler.
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
This commit is contained in:
parent
a1ad8d2ae7
commit
45d0fdcda9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134155
@ -472,7 +472,8 @@ gv_sd_to_drive(struct gv_softc *sc, struct gv_drive *d, struct gv_sd *s,
|
||||
KASSERT(d != NULL, ("gv_sd_to_drive: NULL drive"));
|
||||
KASSERT(s != NULL, ("gv_sd_to_drive: NULL subdisk"));
|
||||
KASSERT(errstr != NULL, ("gv_sd_to_drive: NULL errstr"));
|
||||
KASSERT(errlen >= ERRBUFSIZ, ("gv_sd_to_drive: short errlen", errlen));
|
||||
KASSERT(errlen >= ERRBUFSIZ, ("gv_sd_to_drive: short errlen (%d)",
|
||||
errlen));
|
||||
|
||||
/* Check if this subdisk was already given to this drive. */
|
||||
if (s->drive_sc == d)
|
||||
|
Loading…
Reference in New Issue
Block a user