Changeset 740 for vendor/current/source4/ntvfs/nbench
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source4/ntvfs/nbench/vfs_nbench.c
r414 r740 124 124 } 125 125 126 asprintf(&logname, "/tmp/nbenchlog%d.%u", ntvfs->depth, getpid()); 126 logname = talloc_asprintf(req, "/tmp/nbenchlog%d.%u", ntvfs->depth, 127 getpid()); 128 NT_STATUS_HAVE_NO_MEMORY(logname); 127 129 nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644); 128 free(logname);130 talloc_free(logname); 129 131 130 132 if (nprivates->log_fd == -1) {
Note:
See TracChangeset
for help on using the changeset viewer.