diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 30d70abb4e2c..dd5cc00ed559 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -971,9 +971,8 @@ static void svc_unregister(const struct svc_serv *serv) | |||
971 | /* | 971 | /* |
972 | * Printk the given error with the address of the client that caused it. | 972 | * Printk the given error with the address of the client that caused it. |
973 | */ | 973 | */ |
974 | static int | 974 | static __printf(2, 3) |
975 | __attribute__ ((format (printf, 2, 3))) | 975 | int svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) |
976 | svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) | ||
977 | { | 976 | { |
978 | va_list args; | 977 | va_list args; |
979 | int r; | 978 | int r; |