Ticket #1516: vfs.cpp.patch

File vfs.cpp.patch, 349 bytes (added by mjw, 13 years ago)

Possible patch for haiku/src/system/kernel/fs/vfs.cpp

  • vfs.cpp

     
    15721572
    15731573    FUNCTION(("vnode_path_to_vnode(vnode = %p, path = %s)\n", vnode, path));
    15741574
    1575     if (path == NULL) {
     1575    if (path == NULL || *path == '\0') {
    15761576        put_vnode(vnode);
    15771577        return B_BAD_VALUE;
    15781578    }