]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/engine/function.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / tools / build / src / engine / function.cpp
index 71f9b119ac669a36c080bdfe54cd9ac35c6388d4..295192d1582bd2d85e465e0a8a85af439f156ffa 100644 (file)
@@ -24,6 +24,7 @@
 #include "output.h"
 
 #include <assert.h>
+#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -5017,8 +5018,8 @@ LIST * function_run( FUNCTION * function_, FRAME * frame, STACK * s )
 
                 if ( !out_file )
                 {
-                    err_printf( "failed to write output file '%s'!\n",
-                        out_name->value );
+                    err_printf( "[errno %d] failed to write output file '%s': %s",
+                        errno, out_name->value, strerror(errno) );
                     exit( EXITBAD );
                 }
                 string_free( out_name );