Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61972
b: refs/heads/master
c: 48db7b7
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Massimo Di Nitto authored and David S. Miller committed Jul 20, 2007
1 parent b621220 commit 3891c41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da68e0814a83649f7063c33562f535b60396b566
refs/heads/master: 48db7b7c50cdb06c85f0ff01b5c19ac34903048b
4 changes: 2 additions & 2 deletions trunk/arch/sparc64/kernel/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ static ssize_t devspec_show(struct device *dev,
struct vio_dev *vdev = to_vio_dev(dev);
const char *str = "none";

if (!strcmp(vdev->type, "network"))
if (!strcmp(vdev->type, "vnet-port"))
str = "vnet";
else if (!strcmp(vdev->type, "block"))
else if (!strcmp(vdev->type, "vdc-port"))
str = "vdisk";

return sprintf(buf, "%s\n", str);
Expand Down

0 comments on commit 3891c41

Please sign in to comment.