freebsd-src/usr.bin/runat
Rick Macklem 511de5b143 runat.c: Add an explicit check for snprintf() failure
The check for "outsiz" too large was probably sufficient to
catch failures, since it was cast to an unsigned (size_t).
However, it seems appropriate to add an explicit check for
a failed case (returning -1).

Discussed with:	oshogbo
Fixes:	0660de8172 ("runat: Add a runat(1) utility similar to the Solaris one")
2025-05-10 07:46:17 -07:00
..
Makefile
runat.1
runat.c