bessere warning :P
authorNathan S. Evans <evans@in.tum.de>
Wed, 24 Feb 2010 12:22:52 +0000 (12:22 +0000)
committerNathan S. Evans <evans@in.tum.de>
Wed, 24 Feb 2010 12:22:52 +0000 (12:22 +0000)
src/testing/testing_group.c

index e27a4120dd0c086d25b0743149b6937741ba157b..54eb1eb199b7abd620681502641238fb9147ebec 100644 (file)
@@ -786,8 +786,7 @@ create_and_copy_friend_files (struct GNUNET_TESTING_PeerGroup *pg)
           GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                     _("No SERVICEHOME specified in peer configuration, can't copy friends file!\n"));
           if (unlink(mytemp) != 0)
-            GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                                _("Couldn't remove friends file %s!\n"), mytemp);
+            GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "unlink", mytemp);
          GNUNET_free (mytemp);
           break;
         }