ref: f0aca06496017682ecac95d740cae8e84bf5252c
parent: 75091ef01f4e0b06b642c4a86210040d5a475a85
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
--
⑨