Message ID | 1265909071-11474-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index cb50f4a..e586bce 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -308,7 +308,7 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args) if (index >= MAX_9P_CHAN) { printk(KERN_ERR "9p: no channels available\n"); - return -ENODEV; + return -ENOENT; } client->trans = (void *)chan;