From: Akinobu Mita Date: Sun, 27 May 2007 14:25:00 +0000 (+0900) Subject: [PATCH] ieee80211: fix incomplete error message X-Git-Tag: Ubuntu-5.10.0-12.13~47563^2~7^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a76193df7c7b60f9facb4090c5ec082e06582209;p=mirror_ubuntu-hirsute-kernel.git [PATCH] ieee80211: fix incomplete error message Fix error message: Unable to network device. --> Unable to allocate network device. Cc: James Ketrenos Signed-off-by: Akinobu Mita Signed-off-by: John W. Linville --- diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c index 7ec6610841ba..17ad278696ed 100644 --- a/net/ieee80211/ieee80211_module.c +++ b/net/ieee80211/ieee80211_module.c @@ -140,7 +140,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv) dev = alloc_etherdev(sizeof(struct ieee80211_device) + sizeof_priv); if (!dev) { - IEEE80211_ERROR("Unable to network device.\n"); + IEEE80211_ERROR("Unable to allocate network device.\n"); goto failed; } ieee = netdev_priv(dev);