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 <eblake@redhat.com>
This commit is contained in:
Eric Blake 2014-01-01 09:57:42 -07:00
parent 1063a0ff81
commit 53e3f9e46e

View File

@ -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;
}