diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-24 09:21:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-24 09:21:10 +0000 |
commit | e5a5b5260ff5ba459a637ea7067463d12232f650 (patch) | |
tree | 057d03cabaa534e2c9ec4a1b169680618d98e9bb | |
parent | 155642da86e4f717875d83e8b9777ea90d43c9b8 (diff) |
print also the wrong mode number
-rw-r--r-- | usr.sbin/grfconfig/grfconfig.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/grfconfig/grfconfig.c b/usr.sbin/grfconfig/grfconfig.c index 16ac8e4a926..e40059b1ad4 100644 --- a/usr.sbin/grfconfig/grfconfig.c +++ b/usr.sbin/grfconfig/grfconfig.c @@ -1,4 +1,4 @@ -/* $NetBSD: grfconfig.c,v 1.3 1996/02/11 16:34:23 neil Exp $ */ +/* $NetBSD: grfconfig.c,v 1.4 1996/05/19 09:02:44 veego Exp $ */ /* * Copyright (c) 1995 Ezra Story @@ -131,7 +131,8 @@ main(ac, av) gv->mode_descr[0] = 0; if (ioctl(grffd, GRFIOCSETMON, (char *) gv) < 0) printf("grfconfig: bad monitor " - "definition.\n"); + "definition for mode #%d.\n", + gv->mode_num); } else { printf("grfconfig: bad line in mode " "definition file.\n"); |