Home
last modified time | relevance | path

Searched refs:src_name (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/updater/
Dinstall.c382 char* src_name; in RenameFn() local
385 if (ReadArgs(state, argv, 2, &src_name, &dst_name) < 0) { in RenameFn()
388 if (strlen(src_name) == 0) { in RenameFn()
399 } else if (access(dst_name, F_OK) == 0 && access(src_name, F_OK) != 0) { in RenameFn()
402 } else if (rename(src_name, dst_name) != 0) { in RenameFn()
404 src_name, dst_name, strerror(errno)); in RenameFn()
410 free(src_name); in RenameFn()