[BACK]Return to pmdb.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / pmdb

Diff for /src/usr.bin/pmdb/Attic/pmdb.c between version 1.17 and 1.18

version 1.17, 2003/06/10 22:20:49 version 1.18, 2003/08/02 20:38:38
Line 327 
Line 327 
                         }                          }
                 }                  }
   
                 if (process_read(ps, addr, &val, sizeof(val))) {                  if (process_read(ps, addr, &val, sizeof(val)) < 0) {
                         warn("Can't read process contents at 0x%lx", addr);                          warn("Can't read process contents at 0x%lx", addr);
                         return (0);                          return (0);
                 }                  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18