Code

openvpn: fix error message
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 29 Nov 2015 17:23:17 +0000 (18:23 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 12 Jan 2016 06:58:56 +0000 (07:58 +0100)
src/openvpn.c

index 9291a16063792920f3c7b1b15264851da511a19b..09a6c54e3d0d14e6a8954b73e49b2b1335023c35 100644 (file)
@@ -632,7 +632,7 @@ static int openvpn_config (const char *key, const char *value)
                if (vpn_list == NULL)
                {
                        char errbuf[1024];
-                       ERROR ("openvpn plugin: malloc failed: %s",
+                       ERROR ("openvpn plugin: realloc failed: %s",
                                        sstrerror (errno, errbuf, sizeof (errbuf)));
 
                        sfree (temp->file);