Loading bricks/brick-fs +3 −3 Original line number Diff line number Diff line Loading @@ -65,12 +65,12 @@ namespace brq } template< typename... args_t > static unique_fd open( args_t... args ) static unique_fd open( const char *path, args_t... args ) { int raw = ::open( args... ); int raw = ::open( path, args... ); if ( raw < 0 ) raise_sys() << "error opening file" << brq::format( args... ); raise_sys() << "error opening file " << path; else return from_raw( raw ); Loading Loading
bricks/brick-fs +3 −3 Original line number Diff line number Diff line Loading @@ -65,12 +65,12 @@ namespace brq } template< typename... args_t > static unique_fd open( args_t... args ) static unique_fd open( const char *path, args_t... args ) { int raw = ::open( args... ); int raw = ::open( path, args... ); if ( raw < 0 ) raise_sys() << "error opening file" << brq::format( args... ); raise_sys() << "error opening file " << path; else return from_raw( raw ); Loading