diff options
Diffstat (limited to 'device/dev_name.c')
-rw-r--r-- | device/dev_name.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/device/dev_name.c b/device/dev_name.c index e64fd0e9..abd525ca 100644 --- a/device/dev_name.c +++ b/device/dev_name.c @@ -103,10 +103,9 @@ nomap(dev_t dev, vm_offset_t off, int prot) * next character of target is 0 (end of string). */ boolean_t __attribute__ ((pure)) -name_equal(src, len, target) - const char *src; - int len; - const char *target; +name_equal(const char *src, + int len, + const char *target) { while (--len >= 0) if (*src++ != *target++) |