about summary refs log tree commit diff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index f4b73989af..f1abfb7f29 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -211,6 +211,12 @@ _dl_debug_vdprintf (int fd, int tag_p, const char *fmt, va_list arg)
 	      ++niov;
 	      break;
 
+	    case '%':
+	      iov[niov].iov_base = (void *) fmt;
+	      iov[niov].iov_len = 1;
+	      ++niov;
+	      break;
+
 	    default:
 	      assert (! "invalid format specifier");
 	    }