summaryrefslogtreecommitdiffstats
path: root/plugins/popen.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 16:51:25 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 16:51:25 +0000
commit234481163fc3caf0cb8b14f601f0f9f1458f97f5 (patch)
treee8debce30a2722f5f4dc5e33faf54c9915dd022f /plugins/popen.c
parentdf1bd0c89ff63de64ee630e0025389651947020c (diff)
downloadmonitoring-plugins-234481163fc3caf0cb8b14f601f0f9f1458f97f5.tar.gz
More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/popen.c')
-rw-r--r--plugins/popen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/popen.c b/plugins/popen.c
index f05fe974..94ad583f 100644
--- a/plugins/popen.c
+++ b/plugins/popen.c
@@ -112,6 +112,7 @@ spopen (const char *cmdstring)
112 /* there cannot be more args than characters */ 112 /* there cannot be more args than characters */
113 argc = strlen (cmdstring) + 1; /* add 1 for NULL termination */ 113 argc = strlen (cmdstring) + 1; /* add 1 for NULL termination */
114 argv = malloc (sizeof(char*)*argc); 114 argv = malloc (sizeof(char*)*argc);
115
115 if (argv == NULL) { 116 if (argv == NULL) {
116 printf ("Could not malloc argv array in popen()\n"); 117 printf ("Could not malloc argv array in popen()\n");
117 return NULL; 118 return NULL;