/[hurd]/hurd/libstore/device.c
ViewVC logotype

Diff of /hurd/libstore/device.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by roland, Wed Mar 7 15:01:37 2001 UTC revision 1.26 by marcus, Mon Oct 1 16:47:49 2001 UTC
# Line 41  dev_error (error_t err) Line 41  dev_error (error_t err)
41      case D_INVALID_OPERATION:   return EBADF; /* ? */      case D_INVALID_OPERATION:   return EBADF; /* ? */
42      case D_NO_MEMORY:           return ENOMEM;      case D_NO_MEMORY:           return ENOMEM;
43      default:      default:
44          break;
45      }      }
46    /* Anything unexpected propagates up where weirdness will get noticed.  */    /* Anything unexpected propagates up where weirdness will get noticed.  */
47    return err;    return err;
# Line 223  dev_map (const struct store *store, vm_p Line 224  dev_map (const struct store *store, vm_p
224      }      }
225  }  }
226    
227  struct store_class  const struct store_class
228  store_device_class =  store_device_class =
229  {  {
230    STORAGE_DEVICE, "device", dev_read, dev_write,    STORAGE_DEVICE, "device", dev_read, dev_write,

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26