Hello,

thanks for that, but I have a question for an part i do not understand:

On Mon, Sep 25, 2006 at 02:43:43AM +0200, Tommy Pettersson wrote:
> -  unsigned int nread, pid, lo, hi, offs; unsigned long inode; char *p;
> +  int nread; pid_t pid; size_t lo, hi, offs; ino_t inode; char *p;

here you do not use the specific types, and I actually think that:

> -      nread = sscanf(buff,"%x %x %*s %x %s %lu 
> %as",&lo,&hi,&offs,dev,&inode,&path);
> +      nread = sscanf(buff,"%lx %lx %*s %lx %s %lu 
> %as",&lo,&hi,&offs,dev,&inode,&path);

%lx would require an unsigned long, not an integer?

Gruss
Bernd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to