]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: fix syntax in previous patch
authorEric Blake <eblake@redhat.com>
Wed, 1 Jan 2014 16:57:42 +0000 (09:57 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 1 Jan 2014 16:58:27 +0000 (09:58 -0700)
'make syntax-check' wasn't happy with commit fb00420.

* tests/virnetsockettest.c (checkProtocols): Typo fix.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/virnetsockettest.c

index 82c202e1011bb8d0a14d8c5d4aa7888014df26a8..a14371a12cd192a50666e237ba115a6bd556ede9 100644 (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;
     }