diff options
author | pjd <pjd@FreeBSD.org> | 2004-06-07 13:40:40 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-06-07 13:40:40 +0000 |
commit | cffa6fd685cb3d687a95e04c56203ce7f553c478 (patch) | |
tree | 0bb3840c03d4116acc3c9ae99a039509a348a346 /sys/geom/nop/g_nop.c | |
parent | 90554db9063c14160422a025c530ef49f206e7c2 (diff) | |
download | FreeBSD-src-cffa6fd685cb3d687a95e04c56203ce7f553c478.zip FreeBSD-src-cffa6fd685cb3d687a95e04c56203ce7f553c478.tar.gz |
Fix format string.
Diffstat (limited to 'sys/geom/nop/g_nop.c')
-rw-r--r-- | sys/geom/nop/g_nop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/nop/g_nop.c b/sys/geom/nop/g_nop.c index 52f4549..5ed6079 100644 --- a/sys/geom/nop/g_nop.c +++ b/sys/geom/nop/g_nop.c @@ -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; } |