On 02/18/2016 09:20 AM, Stefan Hajnoczi wrote: > An if statement has been missing a brace since host_ntop() was added in > commit 94ce1eb94babb4c587b2826452fb053cba745098 ("libexport.a: Add > helpers to manage DNS lookups"). > > Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx> Committed... steved. > --- > support/export/hostname.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/support/export/hostname.c b/support/export/hostname.c > index 4daabe9..94e98a5 100644 > --- a/support/export/hostname.c > +++ b/support/export/hostname.c > @@ -69,7 +69,7 @@ host_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) > > memset(buf, 0, buflen); > > - if (sin->sin_family != AF_INET) > + if (sin->sin_family != AF_INET) { > (void)strncpy(buf, "bad family", buflen - 1); > return buf; > } > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html