summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
     }