mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 10:09:30 +00:00
Fix format string.
This commit is contained in:
parent
36939a0a5c
commit
d462f0a1ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130193
@ -142,7 +142,7 @@ g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp,
|
||||
}
|
||||
gp = g_new_geomf(mp, name);
|
||||
if (gp == NULL) {
|
||||
gctl_error(req, "Cannot create geom %s%s.", name);
|
||||
gctl_error(req, "Cannot create geom %s.", name);
|
||||
return (ENOMEM);
|
||||
}
|
||||
gp->softc = NULL;
|
||||
@ -154,7 +154,7 @@ g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp,
|
||||
|
||||
newpp = g_new_providerf(gp, gp->name);
|
||||
if (newpp == NULL) {
|
||||
gctl_error(req, "Cannot create provider %s%s.", name);
|
||||
gctl_error(req, "Cannot create provider %s.", name);
|
||||
error = ENOMEM;
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user