summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2015-01-25 17:12:05 +0100
committerMike Frysinger <vapier@gentoo.org>2015-02-25 00:04:55 -0500
commit9be1052b6f7583fad365643169cfc6732c96aee3 (patch)
treec60da90683aa395e183b511952bee705c9f41a67
parent6807b1db8233ed84671f061b5d825622233df303 (diff)
downloadglibc-9be1052b6f7583fad365643169cfc6732c96aee3.tar.gz
sprof: Make an error message identical to two others, and more accurate.
-rw-r--r--ChangeLog4
-rw-r--r--elf/sprof.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d5c1f1fd2..76ad507015 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-24 Benno Schulenberg <bensberg@justemail.net>
+
+ * elf/sprof.c (load_shobj): Tweak error message to match others.
+
2015-02-24 Kevin Easton <kevin@guarana.org>
[BZ #16145] (partial fix)
diff --git a/elf/sprof.c b/elf/sprof.c
index 380b8d5437..ec3fde3848 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -439,7 +439,7 @@ load_shobj (const char *name)
result = (struct shobj *) calloc (1, sizeof (struct shobj));
if (result == NULL)
{
- error (0, errno, _("cannot create internal descriptors"));
+ error (0, errno, _("cannot create internal descriptor"));
dlclose (map);
return NULL;
}