From 79de498006ebf3d460c353f929502a53854604c8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 23 Sep 2004 10:32:20 +0000 Subject: [PATCH] * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files is not set. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/dump_setup.cc | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 46c6c8a47..6684e3a68 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2004-09-23 Bas van Gompel + + * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files + is not set. + 2004-09-22 Bas van Gompel Corinna Vinschen diff --git a/winsup/utils/dump_setup.cc b/winsup/utils/dump_setup.cc index 734650e1f..67346ed0e 100644 --- a/winsup/utils/dump_setup.cc +++ b/winsup/utils/dump_setup.cc @@ -403,8 +403,7 @@ dump_setup (int verbose, char **argv, bool check_files) check_package_files (verbose, packages[i].name) ? " OK" : " Incomplete"); else - printf ("%-*s %-*s\n", package_len, packages[i].name, - strlen(packages[i].ver), packages[i].ver); + printf ("%-*s %s\n", package_len, packages[i].name, packages[i].ver); fflush(stdout); } -- 2.43.5