/[hurd]/hurd/libcons/file-changed.c
ViewVC logotype

Diff of /hurd/libcons/file-changed.c

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

revision 1.2 by marcus, Wed Aug 28 17:28:36 2002 UTC revision 1.3 by marcus, Sun Sep 8 21:55:59 2002 UTC
# Line 30  cons_S_file_changed (cons_notify_t notif Line 30  cons_S_file_changed (cons_notify_t notif
30                       off_t start, off_t end)                       off_t start, off_t end)
31  {  {
32    error_t err = 0;    error_t err = 0;
33    vcons_t vcons;    vcons_t vcons = (vcons_t) notify;
34    
35    if (!notify || !notify->vcons)    if (!notify || notify->cons)
36      return EOPNOTSUPP;      return EOPNOTSUPP;
37    
   vcons = notify->vcons;  
   
38    mutex_lock (&vcons->lock);    mutex_lock (&vcons->lock);
39    switch (change)    switch (change)
40      {      {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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