mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
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:
1 parent
1063a0ff81
commit
53e3f9e46e
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user