Jan Damborsky wrote:
> 1125                         if (strncmp(devid, "/dev/zvol", sizeof 
> ("/dev/zvol")) == 0)


Well, it actually should be either

1125                         if (strncmp(devid, "/dev/zvol", sizeof 
("/dev/zvol") - 1) == 0)

or

1125                         if (strncmp(devid, "/dev/zvol", strlen 
("/dev/zvol")) == 0)


Jan

Reply via email to