/* Somone has used write_fork, we assume file was changed, register it to file change event api */
if ((ofork->of_flags & AFPFORK_MODIFIED) && (forkpath)) {
- fce_register(FCE_FILE_MODIFY, bdata(forkpath), NULL, fce_file);
+ fce_register(obj, FCE_FILE_MODIFY, bdata(forkpath), NULL);
}
ad_unlock(ofork->of_ad, ofork->of_refnum, ofork->of_flags & AFPFORK_ERROR ? 0 : 1);