diff options
-rw-r--r-- | usr.bin/msgs/msgs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index 1753640..e1db2fc 100644 --- a/usr.bin/msgs/msgs.c +++ b/usr.bin/msgs/msgs.c @@ -634,7 +634,7 @@ int length; if ((env_pager = getenv("PAGER")) == NULL) { snprintf(cmdbuf, sizeof(cmdbuf), _PATH_PAGER, Lpp); } else { - snprintf(cmdbuf, sizeof(cmdbuf), env_pager); + snprintf(cmdbuf, sizeof(cmdbuf), "%s", env_pager); } outf = popen(cmdbuf, "w"); if (!outf) |