diff options
| author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-03-09 11:28:46 +0000 |
|---|---|---|
| committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-03-09 11:28:46 +0000 |
| commit | 63d45d7da0eac8efdeb765ac5caddfc2c5ca021e (patch) | |
| tree | b1404c0aa98931203e3008fe9d296bbab16f22cb /share/examples/drivers | |
| parent | 4eb55c7adcc4c2bcab495aa55c33153ce2366414 (diff) | |
Notes
Diffstat (limited to 'share/examples/drivers')
| -rw-r--r-- | share/examples/drivers/make_pseudo_driver.sh | 4 |
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) |
