diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-03-09 11:28:46 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-03-09 11:28:46 +0000 |
commit | b8a6e62fcc9d90d32edbde03b1a9b8448be2016b (patch) | |
tree | b1404c0aa98931203e3008fe9d296bbab16f22cb /share/examples/drivers | |
parent | 2eaa74ad2267587dc183f71b6cea0353f60e7b87 (diff) | |
download | FreeBSD-src-b8a6e62fcc9d90d32edbde03b1a9b8448be2016b.zip FreeBSD-src-b8a6e62fcc9d90d32edbde03b1a9b8448be2016b.tar.gz |
__FUNCTION__ -> __func__
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 1a3641f..7a8038d 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) |