diff options
Diffstat (limited to 'usr.bin/mg/bell.c')
-rw-r--r-- | usr.bin/mg/bell.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/mg/bell.c b/usr.bin/mg/bell.c index 8cec1258e82..ef7e93b8620 100644 --- a/usr.bin/mg/bell.c +++ b/usr.bin/mg/bell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bell.c,v 1.5 2019/07/17 18:18:37 lum Exp $ */ +/* $OpenBSD: bell.c,v 1.6 2021/05/06 12:44:21 lum Exp $ */ /* * This file is in the public domain. @@ -27,6 +27,14 @@ bellinit(void) } int +dobeep_num(const char *msg, int n) +{ + ewprintf("%s %d", msg, n); + dobeep(); + return (FALSE); +} + +int dobeep_msgs(const char *msg, const char *s) { ewprintf("%s %s", msg, s); |