diff options
author | phk <phk@FreeBSD.org> | 2003-04-23 07:50:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-23 07:50:01 +0000 |
commit | 90684346d69d41794fef92b9545d0ca0a83d1fe4 (patch) | |
tree | 94442d29cbe8b010572d90450367d2ad4ec4c734 /sys/geom/geom.h | |
parent | ee10d5398635179dbb8ae9f414fb9946308171f3 (diff) | |
download | FreeBSD-src-90684346d69d41794fef92b9545d0ca0a83d1fe4.zip FreeBSD-src-90684346d69d41794fef92b9545d0ca0a83d1fe4.tar.gz |
Make gctl_error() take printfline varargs.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index f09972a..fa90f91 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -334,6 +334,7 @@ extern struct sx topology_lock; /* geom_ctl.c */ void *gctl_get_param(struct gctl_req *req, const char *param, int *len); -int gctl_error(struct gctl_req *req, const char *errtxt); +void *gctl_get_paraml(struct gctl_req *req, const char *param, int len); +int gctl_error(struct gctl_req *req, const char *fmt, ...); #endif /* _GEOM_GEOM_H_ */ |