fixed errno sign problem
authorDavid Schleef <ds@schleef.org>
Tue, 7 Nov 2000 20:14:44 +0000 (20:14 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 7 Nov 2000 20:14:44 +0000 (20:14 +0000)
comedi_config/comedi_config.c

index c320c145819759d401980eb1858798ed307099eb..6dedd2652aac5a5c0af7e87db90414616d04c1d5 100644 (file)
@@ -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: