*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
aint = cnid_add(vol->v_db, st, dir->d_did, upath,
strlen(upath), aint);
/* Throw errors if cnid_add fails. */
aint = cnid_add(vol->v_db, st, dir->d_did, upath,
strlen(upath), aint);
/* Throw errors if cnid_add fails. */
- if (id = cnid_add(vol->v_db, &st, did, upath, len, id)) {
+ if (id = cnid_add(vol->v_db, &st, did, upath, len, id) != CNID_INVALID) {