File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/testing/selftests/bpf Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ static int append_filter_file(const char *path)
660660 f = fopen (path , "r" );
661661 if (!f ) {
662662 err = - errno ;
663- fprintf (stderr , "Failed to open filters in '%s': %s\n" , path , strerror (err ));
663+ fprintf (stderr , "Failed to open filters in '%s': %s\n" , path , strerror (- err ));
664664 return err ;
665665 }
666666
@@ -1422,7 +1422,7 @@ static int append_var_preset_file(const char *filename)
14221422 f = fopen (filename , "rt" );
14231423 if (!f ) {
14241424 err = - errno ;
1425- fprintf (stderr , "Failed to open presets in '%s': %s\n" , filename , strerror (err ));
1425+ fprintf (stderr , "Failed to open presets in '%s': %s\n" , filename , strerror (- err ));
14261426 return - EINVAL ;
14271427 }
14281428
You can’t perform that action at this time.
0 commit comments