Searched refs:bakfpath (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 745 char fpath[PATH_MAX], bakfpath[PATH_MAX]; in append_dumptime() local 766 (void) snprintf(bakfpath, PATH_MAX, "%s.bak", fpath); in append_dumptime() 775 if (filecopy(bakfpath, fpath) != 0) { in append_dumptime() 777 fpath, bakfpath); in append_dumptime() 783 fp = fopen(bakfpath, "a"); in append_dumptime() 785 NDMP_LOG(LOG_ERR, "Cannot open %s: %m.", bakfpath); in append_dumptime() 789 NDMP_LOG(LOG_DEBUG, "[%s][%s]", fpath, bakfpath); in append_dumptime() 798 (void) rename(bakfpath, fpath); in append_dumptime()
|