From a01cd721f6ebc4b3c4231bc9ec2860247f3121c9 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 7 Nov 2000 20:14:44 +0000 Subject: [PATCH] fixed errno sign problem --- comedi_config/comedi_config.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/comedi_config/comedi_config.c b/comedi_config/comedi_config.c index c320c14..6dedd26 100644 --- a/comedi_config/comedi_config.c +++ b/comedi_config/comedi_config.c @@ -192,19 +192,19 @@ int main(int argc,char *argv[]) fprintf(stderr,"Check kernel log for more information\n"); fprintf(stderr,"Possible reasons for failure:\n"); switch(err){ - case -EINVAL: + case EINVAL: fprintf(stderr," \n"); break; - case -EBUSY: + case EBUSY: fprintf(stderr," Already configured\n"); break; - case -EIO: + case EIO: fprintf(stderr," Driver not found\n"); break; - case -EPERM: + case EPERM: fprintf(stderr," Not root\n"); break; - case -EFAULT: + case EFAULT: fprintf(stderr," Comedi bug\n"); break; default: -- 2.26.2