summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/ppb_1284.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ppbus/ppb_1284.c')
-rw-r--r--sys/dev/ppbus/ppb_1284.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ppbus/ppb_1284.c b/sys/dev/ppbus/ppb_1284.c
index 0915828..3fdd11b 100644
--- a/sys/dev/ppbus/ppb_1284.c
+++ b/sys/dev/ppbus/ppb_1284.c
@@ -173,7 +173,7 @@ ppb_request_mode(int mode, int options)
request_mode = EPP_1284_NORMAL;
break;
default:
- panic("%s: unsupported mode %d\n", __FUNCTION__, mode);
+ panic("%s: unsupported mode %d\n", __func__, mode);
}
}
@@ -607,7 +607,7 @@ ppb_1284_read_id(device_t bus, int mode, char *buffer,
error = spp_1284_read(bus, PPB_BYTE, buffer, max, read);
break;
default:
- panic("%s: unsupported mode %d\n", __FUNCTION__, mode);
+ panic("%s: unsupported mode %d\n", __func__, mode);
}
ppb_1284_terminate(bus);
@@ -790,7 +790,7 @@ ppb_1284_negociate(device_t bus, int mode, int options)
break;
default:
- panic("%s: unknown mode (%d)!", __FUNCTION__, mode);
+ panic("%s: unknown mode (%d)!", __func__, mode);
}
ppb_set_mode(bus, mode);
OpenPOWER on IntegriCloud