Add __printflike() to gctl_error().

Approved by:	phk
MFC after:	1 week
This commit is contained in:
Pawel Jakub Dawidek 2006-09-16 10:39:07 +00:00
parent 724e825a16
commit 5e165262f1

View File

@ -348,7 +348,7 @@ void gctl_set_param_err(struct gctl_req *req, const char *param, void const *ptr
void *gctl_get_param(struct gctl_req *req, const char *param, int *len);
char const *gctl_get_asciiparam(struct gctl_req *req, const char *param);
void *gctl_get_paraml(struct gctl_req *req, const char *param, int len);
int gctl_error(struct gctl_req *req, const char *fmt, ...);
int gctl_error(struct gctl_req *req, const char *fmt, ...) __printflike(2, 3);
struct g_class *gctl_get_class(struct gctl_req *req, char const *arg);
struct g_geom *gctl_get_geom(struct gctl_req *req, struct g_class *mpr, char const *arg);
struct g_provider *gctl_get_provider(struct gctl_req *req, char const *arg);