Skip to content

Commit 7b762a0

Browse files
committed
Fix incorrect arguments passed to printf()
1 parent 1769b58 commit 7b762a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xmvn-tools/xmvn-subst/src/main/java/org/fedoraproject/xmvn/tools/subst/ArtifactVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public FileVisitResult visitFile( Path path, BasicFileAttributes attrs )
131131
public FileVisitResult visitFileFailed( Path path, IOException e )
132132
throws IOException
133133
{
134-
System.err.printf( "WARNING: Failed to access file%n", e );
134+
System.err.printf( "WARNING: Failed to access file %s%n", path );
135135
return FileVisitResult.CONTINUE;
136136
}
137137

0 commit comments

Comments
 (0)