diff options
author | sobomax <sobomax@FreeBSD.org> | 2005-11-30 22:15:00 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2005-11-30 22:15:00 +0000 |
commit | 16e3e466ccc1974e0b78451d67ba767ee0856d43 (patch) | |
tree | 433753fcb5944fe5be18f76ad6e5440f6dc0ace9 /sys/geom/geom_pc98.c | |
parent | 59488a6d95a7da1b09575c8053c4ee8edd096b53 (diff) | |
download | FreeBSD-src-16e3e466ccc1974e0b78451d67ba767ee0856d43.zip FreeBSD-src-16e3e466ccc1974e0b78451d67ba767ee0856d43.tar.gz |
Don't pass error value pointer to g_read_data(9) at all if we don't
have any use of it.
Suggested by: pjd
Diffstat (limited to 'sys/geom/geom_pc98.c')
-rw-r--r-- | sys/geom/geom_pc98.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index a380f0d..4f89958 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -288,7 +288,7 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags) sectorsize = cp->provider->sectorsize; if (sectorsize % 512 != 0) break; - buf = g_read_data(cp, 0, 8192, &error); + buf = g_read_data(cp, 0, 8192, NULL); if (buf == NULL) break; ms->fwsectors = fwsectors; |