ffserver: be explicit on failed fork() msg
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Tue, 15 Dec 2015 00:10:20 +0000 (16:10 -0800)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Tue, 15 Dec 2015 18:04:59 +0000 (10:04 -0800)
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
ffserver.c

index 4392a62..981eece 100644 (file)
@@ -442,7 +442,7 @@ static void start_children(FFServerStream *feed)
 
         feed->pid = fork();
         if (feed->pid < 0) {
-            http_log("Unable to create children\n");
+            http_log("Unable to create children: %s\n", strerror(errno));
             exit(1);
         }