summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/rxvt-devel/files/patch-src::command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/rxvt-devel/files/patch-src::command.c b/x11/rxvt-devel/files/patch-src::command.c
index 32cabe3..3aa7b94 100644
--- a/x11/rxvt-devel/files/patch-src::command.c
+++ b/x11/rxvt-devel/files/patch-src::command.c
@@ -5,7 +5,7 @@
va_start(arg_ptr, fmt);
- vsprintf((char *)buf, fmt, arg_ptr);
-+ vsnprintf((char *)buf, sizeof((char *) buf), fmt, arg_ptr);
++ vsnprintf((char *)buf, sizeof(buf), fmt, arg_ptr);
va_end(arg_ptr);
rxvt_tt_write(r, buf, (unsigned int)STRLEN(buf));
}
OpenPOWER on IntegriCloud