Code

openvpn: fix error message
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 29 Nov 2015 17:23:17 +0000 (18:23 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 29 Nov 2015 17:23:17 +0000 (18:23 +0100)
src/openvpn.c

index 8034f5ab40a1ff676874b55b4a6725449c93e0c5..7f94f51c24947747c00d073637f00135c0f031d4 100644 (file)
@@ -712,7 +712,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);