Skip to content

Commit f0ce44c

Browse files
committed
Removed unnecessary %s which was causing seg faults
1 parent 4734346 commit f0ce44c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/base/ShowSetup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ void ShowSetup(const t_vpr_setup& vpr_setup) {
3030
VTR_LOG("Circuit placement file: %s\n", vpr_setup.FileNameOpts.PlaceFile.c_str());
3131
VTR_LOG("Circuit routing file: %s\n", vpr_setup.FileNameOpts.RouteFile.c_str());
3232
VTR_LOG("Circuit SDC file: %s\n", vpr_setup.Timing.SDCFile.c_str());
33-
if (vpr_setup.FileNameOpts.read_vpr_constraints_file == "") {
34-
VTR_LOG("Vpr floorplanning constraints file: not specified %s\n");
33+
if (vpr_setup.FileNameOpts.read_vpr_constraints_file.empty()) {
34+
VTR_LOG("Vpr floorplanning constraints file: not specified\n");
3535
} else {
3636
VTR_LOG("Vpr floorplanning constraints file: %s\n", vpr_setup.FileNameOpts.read_vpr_constraints_file.c_str());
3737
}

0 commit comments

Comments
 (0)