Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dinstall.c622 char** srcs = ReadVarArgs(state, argc-1, argv+1); in SymlinkFn() local
623 if (srcs == NULL) { in SymlinkFn()
631 if (unlink(srcs[i]) < 0) { in SymlinkFn()
634 name, srcs[i], strerror(errno)); in SymlinkFn()
638 if (make_parents(srcs[i])) { in SymlinkFn()
640 name, srcs[i], target); in SymlinkFn()
643 if (symlink(target, srcs[i]) < 0) { in SymlinkFn()
645 name, srcs[i], target, strerror(errno)); in SymlinkFn()
648 free(srcs[i]); in SymlinkFn()
650 free(srcs); in SymlinkFn()