summaryrefslogtreecommitdiff
path: root/svpopup.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-05-09 11:19:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-05-09 11:19:33 -0700
commitaf90a105ec97c6d856d2e8a80e8822c3e192d1e9 (patch)
tree88e8a1428621f6dd10eb7c37370723d2e6a1b7e8 /svpopup.c
parent9ffefd5b3d38e9ed2b5ed59bc50e8a7da761fb77 (diff)
Replace remaining sprintf calls with snprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'svpopup.c')
-rw-r--r--svpopup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svpopup.c b/svpopup.c
index 8e3fe8f..b0a32c8 100644
--- a/svpopup.c
+++ b/svpopup.c
@@ -127,7 +127,7 @@ ModifySVEntry(Widget w, XEvent *event, String *params, Cardinal *num_params)
old = global_screen_data.res_text;
break;
default:
- sprintf(msg, res_labels[22]);
+ snprintf(msg, sizeof(msg), res_labels[22]);
SetMessage(global_screen_data.info_label, msg);
return;
}