From 10b92369a1d53e5ac4a0c81011605eb60295824d Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 9 Mar 2015 03:31:26 +0000 Subject: [PATCH] Call xo_finish(3) before exiting in usage(). --- usr.bin/w/w.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index 0889c4c1b43f..f21b9767feab 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -554,5 +554,6 @@ usage(int wcmd) xo_error("usage: w [-dhin] [-M core] [-N system] [user ...]\n"); else xo_error("usage: uptime\n"); + xo_finish(); exit(1); }