aboutsummaryrefslogtreecommitdiff
path: root/share/examples/drivers
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-03-09 11:28:46 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-03-09 11:28:46 +0000
commit63d45d7da0eac8efdeb765ac5caddfc2c5ca021e (patch)
treeb1404c0aa98931203e3008fe9d296bbab16f22cb /share/examples/drivers
parent4eb55c7adcc4c2bcab495aa55c33153ce2366414 (diff)
Notes
Diffstat (limited to 'share/examples/drivers')
-rw-r--r--share/examples/drivers/make_pseudo_driver.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/examples/drivers/make_pseudo_driver.sh b/share/examples/drivers/make_pseudo_driver.sh
index 1a3641f43775..7a8038d9f3b9 100644
--- a/share/examples/drivers/make_pseudo_driver.sh
+++ b/share/examples/drivers/make_pseudo_driver.sh
@@ -113,11 +113,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("%s: bad unit %d\n", __func__, unit); \
return (RETVAL); \
} \
if (scp == NULL) { \
- printf( __FUNCTION__ ": unit %d not attached\n", unit); \
+ printf("%s: unit %d not attached\n", __func__, unit); \
return (RETVAL); \
} \
} while (0)