Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/wsmuxctl expand error message to also list wsbell a...



details:   https://anonhg.NetBSD.org/src/rev/ca45265c0694
branches:  trunk
changeset: 997854:ca45265c0694
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Fri Mar 29 07:49:38 2019 +0000

description:
expand error message to also list wsbell as valid name.

diffstat:

 usr.sbin/wsmuxctl/wsmuxctl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 709d5f62647b -r ca45265c0694 usr.sbin/wsmuxctl/wsmuxctl.c
--- a/usr.sbin/wsmuxctl/wsmuxctl.c      Fri Mar 29 07:47:33 2019 +0000
+++ b/usr.sbin/wsmuxctl/wsmuxctl.c      Fri Mar 29 07:49:38 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsmuxctl.c,v 1.13 2019/03/29 07:47:33 mlelstv Exp $ */
+/* $NetBSD: wsmuxctl.c,v 1.14 2019/03/29 07:49:38 mlelstv Exp $ */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
                mdev->type = WSMUX_BELL;
                return;
        }
-       errx(1, "bad device: `%s', use wsmouse, wskdb, or wsmux", dev);
+       errx(1, "bad device: `%s', use wsmouse, wskdb, wsmux or wsbell", dev);
 }
 
 static void



Home | Main Index | Thread Index | Old Index