From 5608e2d45116da561f5fd492507b19be67d7ab22 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Thu, 22 Nov 2007 11:41:18 +0000 Subject: [PATCH] Minor adjustment to predominant coding style. --- cpu/6502/net/ethernet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/6502/net/ethernet.c b/cpu/6502/net/ethernet.c index cb9c948a1..1b74aa6d8 100644 --- a/cpu/6502/net/ethernet.c +++ b/cpu/6502/net/ethernet.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * @(#)$Id: ethernet.c,v 1.1 2007/11/20 21:10:21 oliverschmidt Exp $ + * @(#)$Id: ethernet.c,v 1.2 2007/11/22 11:41:18 oliverschmidt Exp $ */ #include @@ -74,7 +74,7 @@ ethernet_init(struct ethernet_config *config) u8_t byte; module_control.callerdata = open(config->name, O_RDONLY); - if(module_control.callerdata == -1) { + if(module_control.callerdata < 0) { fprintf(stderr, "%s: %s\n", config->name, strerror(errno)); error_exit(); }