Просмотр исходного кода

[NET]: Fix comments for register_netdev().

Correct the function name in the comments supplied with
register_netdev()

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Borislav Petkov 18 лет назад
Родитель
Сommit
38b4da3837
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      net/core/dev.c

+ 1 - 1
net/core/dev.c

@@ -3130,7 +3130,7 @@ int register_netdevice(struct net_device *dev)
  *	chain. 0 is returned on success. A negative errno code is returned
  *	on a failure to set up the device, or if the name is a duplicate.
  *
- *	This is a wrapper around register_netdev that takes the rtnl semaphore
+ *	This is a wrapper around register_netdevice that takes the rtnl semaphore
  *	and expands the device name if you passed a format string to
  *	alloc_netdev.
  */