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/dev/mlx | |
| parent | 9d34414bc2a9385fb400e1ca7384bd4c4d1291cd (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx')
| -rw-r--r-- | sys/dev/mlx/mlx.c | 2 | ||||
| -rw-r--r-- | sys/dev/mlx/mlxvar.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c index c5c2392b894b2..208328266cdf7 100644 --- a/sys/dev/mlx/mlx.c +++ b/sys/dev/mlx/mlx.c @@ -1168,7 +1168,7 @@ mlx_periodic_enquiry(struct mlx_command *mc) break; } default: - device_printf(sc->mlx_dev, "%s: unknown command 0x%x", __FUNCTION__, mc->mc_mailbox[0]); + device_printf(sc->mlx_dev, "%s: unknown command 0x%x", __func__, mc->mc_mailbox[0]); break; } diff --git a/sys/dev/mlx/mlxvar.h b/sys/dev/mlx/mlxvar.h index 58c7a4bb13ccd..84dad18eb403d 100644 --- a/sys/dev/mlx/mlxvar.h +++ b/sys/dev/mlx/mlxvar.h @@ -33,8 +33,8 @@ * 2 - extremely noisy, emit trace items in loops, etc. */ #ifdef MLX_DEBUG -#define debug(level, fmt, args...) do { if (level <= MLX_DEBUG) printf("%s: " fmt "\n", __FUNCTION__ , ##args); } while(0) -#define debug_called(level) do { if (level <= MLX_DEBUG) printf(__FUNCTION__ ": called\n"); } while(0) +#define debug(level, fmt, args...) do { if (level <= MLX_DEBUG) printf("%s: " fmt "\n", __func__ , ##args); } while(0) +#define debug_called(level) do { if (level <= MLX_DEBUG) printf(__func__ ": called\n"); } while(0) #else #define debug(level, fmt, args...) #define debug_called(level) |
