diff options
author | msmith <msmith@FreeBSD.org> | 1999-03-19 00:33:31 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-03-19 00:33:31 +0000 |
commit | 1f060a3664c8cdf2881e2cea3a329ed281c6bc4e (patch) | |
tree | cbb558fbdba40365ee12c272e2388499690b88bf /share/examples | |
parent | a9a1137a8b9ccafd52106486c9e60fb9e7178283 (diff) | |
download | FreeBSD-src-1f060a3664c8cdf2881e2cea3a329ed281c6bc4e.zip FreeBSD-src-1f060a3664c8cdf2881e2cea3a329ed281c6bc4e.tar.gz |
Fix some $d -> %d mistakes.
Submitted by: crb@crbowman.erols.com
Diffstat (limited to 'share/examples')
-rwxr-xr-x | share/examples/drivers/make_device_driver.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/examples/drivers/make_device_driver.sh b/share/examples/drivers/make_device_driver.sh index e2bc74c..6448984 100755 --- a/share/examples/drivers/make_device_driver.sh +++ b/share/examples/drivers/make_device_driver.sh @@ -29,7 +29,7 @@ DONE cat >${UPPER} <<DONE # Configuration file for kernel type: ${UPPER} ident ${UPPER} -# \$Id: make_device_driver.sh,v 1.3 1998/01/12 07:47:03 julian Exp $" +# \$Id: make_device_driver.sh,v 1.4 1998/10/22 16:10:29 bde Exp $" DONE grep -v GENERIC < GENERIC >>${UPPER} @@ -45,7 +45,7 @@ cat >../isa/${1}.c <<DONE * Copyright ME * * ${1} driver - * \$Id: make_device_driver.sh,v 1.3 1998/01/12 07:47:03 julian Exp $ + * \$Id: make_device_driver.sh,v 1.4 1998/10/22 16:10:29 bde Exp $ */ @@ -140,7 +140,7 @@ ${1}probe (struct isa_device *dev) return (0); } if (scp) { - printf("unit $d already attached\n", unit); + printf("unit %d already attached\n", unit); return (0); } @@ -211,11 +211,11 @@ ${1}attach (struct isa_device *dev) #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) |