From 53e3f9e46e5ded9d2b62de24fe7c419949c5216e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 1 Jan 2014 09:57:42 -0700 Subject: [PATCH] tests: fix syntax in previous patch 'make syntax-check' wasn't happy with commit fb00420. * tests/virnetsockettest.c (checkProtocols): Typo fix. Signed-off-by: Eric Blake --- tests/virnetsockettest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c index 82c202e101..a14371a12c 100644 --- a/tests/virnetsockettest.c +++ b/tests/virnetsockettest.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Red Hat, Inc. + * Copyright (C) 2011, 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -61,7 +61,7 @@ checkProtocols(bool *hasIPv4, bool *hasIPv6, *freePort = 0; if (getifaddrs(&ifaddr) < 0) { - perror ("getifaddrs"); + perror("getifaddrs"); goto cleanup; } -- GitLab