ref: 83b18ee8af12befcfdce7de60749985f2a63409c
parent: 6dbc4e37f8706e351e27751361cba707161beb44
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 9 07:50:30 EST 2025
resize: don't use sysfatal() for usage print.
--- a/sys/src/cmd/resize.c
+++ b/sys/src/cmd/resize.c
@@ -94,7 +94,8 @@
void
usage(void)
{
- sysfatal("Usage: %s [ -x width ] [ -y height ] [ file ]\n", argv0);
+ fprint(2, "Usage: %s [ -x width ] [ -y height ] [ file ]\n", argv0);
+ exits("usage");
}
void
--
⑨