On 12 December 2012 09:14, Ben Myers <b...@sgi.com> wrote:

> Looks like that would be print out of fs_table_initialise_projects.
>
>  40 static int
>  41 fs_device_number(
>  42         const char      *name,
>  43         dev_t           *devnum)
>  44 {
>  45         struct stat64   sbuf;
>  46
>  47         if (stat64(name, &sbuf) < 0)
>  48                 return errno;
>                         ^^^^^^^^ here?
>

Yes, I found the same (IIRC) code. However, strace clearly shows the result
of stat64 is 0, and the above is for values less then 0, so this shouldn't
happen...


> Do you have a wonky /etc/projects file or something?
>

Not AFAIK. Has the format or parsing changed?

hq ~ # cat /etc/projects
3:/share/systems
4:/share/cs
5:/share/cas
5:/share/cfcp
6:/share/lgs
#7:/share/csd
8:/share/common
9:/share/summer

-- 
Brian May <br...@microcomaustralia.com.au>

Reply via email to