diff --git a/ld/ChangeLog b/ld/ChangeLog index 26fbe40189..b7c7bbb156 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-02-18 Andrew Burgess + + * testplugin.c (record_read_length): Remove debug fprintf. + 2021-02-14 Alan Modra * testsuite/ld-cdtest/cdtest.exp, diff --git a/ld/testplug.c b/ld/testplug.c index 483f0f0edf..645004ef17 100644 --- a/ld/testplug.c +++ b/ld/testplug.c @@ -176,10 +176,7 @@ record_read_length (const char *length) while (*tmp != '\0' && isdigit (*tmp)) ++tmp; if (*tmp != '\0' || *length == '\0') - { - fprintf (stderr, "APB: Bad length string: %s\n", tmp); - return LDPS_ERR; - } + return LDPS_ERR; bytes_to_read_before_claim = atoi (length); return LDPS_OK;