summaryrefslogtreecommitdiff
path: root/sys/src/9/ppc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-08-17 23:27:31 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-08-17 23:27:31 +0200
commitc44b78f739a15469ea0d9a1cb3895abeb62e21fc (patch)
tree0289c607eede11a18aa3b08a0f770385a051272c /sys/src/9/ppc
parent72304eb350228a3267ef339905bef2f11659c4bf (diff)
change definition of Chan.create to return a chan like open
Diffstat (limited to 'sys/src/9/ppc')
-rw-r--r--sys/src/9/ppc/devether.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/src/9/ppc/devether.c b/sys/src/9/ppc/devether.c
index 6d58e70dd..2f8553932 100644
--- a/sys/src/9/ppc/devether.c
+++ b/sys/src/9/ppc/devether.c
@@ -54,9 +54,11 @@ etheropen(Chan* chan, int omode)
return netifopen(etherxx[chan->dev], chan, omode);
}
-static void
+static Chan*
ethercreate(Chan*, char*, int, ulong)
{
+ error(Eperm);
+ return 0;
}
static void