Print this page
Build provider 3rd arg from smb_request_t
hacking...

*** 76,87 **** (void) snprintf(path, MAXPATHLEN, "%s%05u", identifier, new_id); } op->create_disposition = FILE_OVERWRITE_IF; op->create_options = FILE_NON_DIRECTORY_FILE; ! DTRACE_SMB_2(op__OpenPrintFile__start, smb_request_t *, sr, ! struct open_param *, op); return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); } void --- 76,86 ---- (void) snprintf(path, MAXPATHLEN, "%s%05u", identifier, new_id); } op->create_disposition = FILE_OVERWRITE_IF; op->create_options = FILE_NON_DIRECTORY_FILE; ! DTRACE_SMB_1(op__OpenPrintFile__start, smb_request_t *, sr); /* arg.open */ return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR); } void