summaryrefslogtreecommitdiffstats
path: root/share/examples/drivers
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-03-19 00:35:07 +0000
committermsmith <msmith@FreeBSD.org>1999-03-19 00:35:07 +0000
commit11f83f2953aafcbbc4183b383ab3d9067695b235 (patch)
treebd3ed4a060818003663dfd67e7d05141eff95fd2 /share/examples/drivers
parent1f060a3664c8cdf2881e2cea3a329ed281c6bc4e (diff)
downloadFreeBSD-src-11f83f2953aafcbbc4183b383ab3d9067695b235.zip
FreeBSD-src-11f83f2953aafcbbc4183b383ab3d9067695b235.tar.gz
more $d -> %d fixes
Diffstat (limited to 'share/examples/drivers')
-rw-r--r--share/examples/drivers/make_pseudo_driver.sh8
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 a68bc7e..072e6c9 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)
OpenPOWER on IntegriCloud