diff options
Diffstat (limited to 'Documentation/mca.txt')
-rw-r--r-- | Documentation/mca.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/mca.txt b/Documentation/mca.txt index 5ac4ecc26..6e32c305c 100644 --- a/Documentation/mca.txt +++ b/Documentation/mca.txt @@ -25,7 +25,7 @@ this. The typical probe code looks like the following: if( MCA_bus ) { slot = mca_find_adapter( ADAPTER_ID, 0 ); if( slot == MCA_NOTFOUND ) { - return ENODEV; + return -ENODEV; } /* optional - see below */ mca_set_adapter_name( slot, "adapter name & description" ); @@ -37,7 +37,7 @@ this. The typical probe code looks like the following: pos4 = mca_read_stored_pos( slot, 4 ); pos5 = mca_read_stored_pos( slot, 5 ); } else { - return ENODEV; + return -ENODEV; } /* extract configuration from pos[2345] and set everything up */ |