Constify a debug function arg that we pass __func__ to in order to pacify
gcc-3.1's 'const char *__func__;'
This commit is contained in:
parent
3fec4bb98a
commit
70148712be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97214
@ -182,7 +182,7 @@ aac_panic(struct aac_softc *sc, char *reason)
|
||||
* Print a FIB
|
||||
*/
|
||||
void
|
||||
aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, char *caller)
|
||||
aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, const char *caller)
|
||||
{
|
||||
device_printf(sc->aac_dev, "%s: FIB @ %p\n", caller, fib);
|
||||
device_printf(sc->aac_dev, " XferState %b\n", fib->Header.XferState,
|
||||
|
@ -412,7 +412,7 @@ extern int aac_sync_fib(struct aac_softc *sc, u_int32_t command,
|
||||
extern void aac_print_queues(struct aac_softc *sc);
|
||||
extern void aac_panic(struct aac_softc *sc, char *reason);
|
||||
extern void aac_print_fib(struct aac_softc *sc, struct aac_fib *fib,
|
||||
char *caller);
|
||||
const char *caller);
|
||||
extern void aac_print_aif(struct aac_softc *sc,
|
||||
struct aac_aif_command *aif);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user