diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-03-19 00:35:07 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-03-19 00:35:07 +0000 |
| commit | ddc4659f9de25750f2aa6022571592c3fe9d6f97 (patch) | |
| tree | 22cfe741b207a004680b43167afba9599ecd2a80 /share/examples/drivers | |
| parent | a528364ed071d35fcddbbdac28e48bb91f859ae8 (diff) | |
Notes
Diffstat (limited to 'share/examples/drivers')
| -rw-r--r-- | share/examples/drivers/make_pseudo_driver.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/examples/drivers/make_pseudo_driver.sh b/share/examples/drivers/make_pseudo_driver.sh index a68bc7eeaf71..072e6c942e64 100644 --- a/share/examples/drivers/make_pseudo_driver.sh +++ b/share/examples/drivers/make_pseudo_driver.sh @@ -21,7 +21,7 @@ DONE cat >${UPPER} <<DONE # Configuration file for kernel type: ${UPPER} ident ${UPPER} -# \$Id: make_pseudo_driver.sh,v 1.2 1997/12/30 03:23:13 julian Exp $" +# \$Id: make_pseudo_driver.sh,v 1.3 1998/10/22 16:12:16 bde Exp $" DONE grep -v GENERIC < GENERIC >>${UPPER} @@ -37,7 +37,7 @@ cat >../../dev/${1}.c <<DONE * Copyright ME * * ${1} driver - * \$Id: make_pseudo_driver.sh,v 1.2 1997/12/30 03:23:13 julian Exp $ + * \$Id: make_pseudo_driver.sh,v 1.3 1998/10/22 16:12:16 bde Exp $ */ @@ -112,11 +112,11 @@ static sc_p sca[N${UPPER}]; #define CHECKUNIT(RETVAL) \ do { /* the do-while is a safe way to do this grouping */ \ if (unit > N${UPPER}) { \ - printf(__FUNCTION__ ":bad unit $d\n", unit); \ + printf(__FUNCTION__ ":bad unit %d\n", unit); \ return (RETVAL); \ } \ if (scp == NULL) { \ - printf( __FUNCTION__ ": unit $d not attached\n", unit);\ + printf( __FUNCTION__ ": unit %d not attached\n", unit);\ return (RETVAL); \ } \ } while (0) |
