lockf: usage : lockf -> usage: lockf by using fprintf instead of errx.
This commit is contained in:
parent
909293cd0d
commit
3ec665d482
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27603
@ -22,7 +22,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lockf.c,v 1.4 1997/02/22 19:55:54 peter Exp $
|
||||
* $Id: lockf.c,v 1.5 1997/03/29 04:30:37 imp Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -192,7 +192,9 @@ timeout(int sig)
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
errx(EX_USAGE, "usage: lockf [-s] [-t seconds] file command [arguments]");
|
||||
fprintf(stderr,
|
||||
"usage: lockf [-s] [-t seconds] file command [arguments]\n");
|
||||
exit(EX_USAGE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user