diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2020-02-13 18:19:08 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2020-02-13 18:19:08 +0000 |
commit | 35a921281bad6a5efee3d79c83598e0cff0011b2 (patch) | |
tree | a94512afd4d787f6d46671cf02fed103acdff59e /sys | |
parent | eb476a7f08c72f88fc476e81d4d539d5c61e0109 (diff) |
replace incorrect function name in error message with __func__
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/utwitch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/utwitch.c b/sys/dev/usb/utwitch.c index 16ef0929dc1..d077c8185e8 100644 --- a/sys/dev/usb/utwitch.c +++ b/sys/dev/usb/utwitch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utwitch.c,v 1.18 2019/11/30 18:12:18 cheloha Exp $ */ +/* $OpenBSD: utwitch.c,v 1.19 2020/02/13 18:19:07 jasper Exp $ */ /* * Copyright (c) 2010 Yojiro UO <yuo@nui.org> @@ -138,7 +138,7 @@ utwitch_attach(struct device *parent, struct device *self, void *aux) err = uhidev_open(&sc->sc_hdev); if (err) { - printf("utwitch_open: uhidev_open %d\n", err); + printf("%s: uhidev_open %d\n", __func__, err); return; } sc->sc_ibuf = malloc(sc->sc_ilen, M_USBDEV, M_WAITOK); |