mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00: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:
parent
1063a0ff81
commit
53e3f9e46e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user