diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
| commit | 6e551fb6285417f585c419500047004ed47c77f1 (patch) | |
| tree | b580d740769b3b201f76ad941e8b0b8ca3015bc0 /sys/boot | |
| parent | 9d34414bc2a9385fb400e1ca7384bd4c4d1291cd (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/common/bcache.c | 2 | ||||
| -rw-r--r-- | sys/boot/common/interp_forth.c | 2 | ||||
| -rw-r--r-- | sys/boot/i386/libi386/bioscd.c | 2 | ||||
| -rw-r--r-- | sys/boot/i386/libi386/biosdisk.c | 2 | ||||
| -rw-r--r-- | sys/boot/pc98/libpc98/biosdisk.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sys/boot/common/bcache.c b/sys/boot/common/bcache.c index e99a677a260b6..d4f4d7a961632 100644 --- a/sys/boot/common/bcache.c +++ b/sys/boot/common/bcache.c @@ -40,7 +40,7 @@ #ifdef BCACHE_DEBUG #define BCACHE_TIMEOUT 10 -# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __FUNCTION__ , ## args) +# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __func__ , ## args) #else #define BCACHE_TIMEOUT 2 # define DEBUG(fmt, args...) diff --git a/sys/boot/common/interp_forth.c b/sys/boot/common/interp_forth.c index b4604d91ff42f..41530b0fb8678 100644 --- a/sys/boot/common/interp_forth.c +++ b/sys/boot/common/interp_forth.c @@ -37,7 +37,7 @@ extern char bootprog_rev[]; /* #define BFORTH_DEBUG */ #ifdef BFORTH_DEBUG -# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __FUNCTION__ , ## args) +# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __func__ , ## args) #else # define DEBUG(fmt, args...) #endif diff --git a/sys/boot/i386/libi386/bioscd.c b/sys/boot/i386/libi386/bioscd.c index 5a9605efe5c27..edc05d6867fa6 100644 --- a/sys/boot/i386/libi386/bioscd.c +++ b/sys/boot/i386/libi386/bioscd.c @@ -58,7 +58,7 @@ #define CDMAJOR 15 #ifdef DISK_DEBUG -# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __FUNCTION__ , ## args) +# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __func__ , ## args) #else # define DEBUG(fmt, args...) #endif diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c index 0ad95e1d25bf4..c52b0f0c4d73e 100644 --- a/sys/boot/i386/libi386/biosdisk.c +++ b/sys/boot/i386/libi386/biosdisk.c @@ -60,7 +60,7 @@ #define DAMAJOR 4 #ifdef DISK_DEBUG -# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __FUNCTION__ , ## args) +# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __func__ , ## args) #else # define DEBUG(fmt, args...) #endif diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c index e6675a47a9378..7c4c66baa4610 100644 --- a/sys/boot/pc98/libpc98/biosdisk.c +++ b/sys/boot/pc98/libpc98/biosdisk.c @@ -60,7 +60,7 @@ #define DAMAJOR 4 #ifdef DISK_DEBUG -# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __FUNCTION__ , ## args) +# define DEBUG(fmt, args...) printf("%s: " fmt "\n" , __func__ , ## args) #else # define DEBUG(fmt, args...) #endif |
