Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libbe/common/
H A Dbe_utils.c1546 char *temp_menu = NULL; in be_update_menu() local
1630 if ((temp_menu = (char *)malloc(temp_menu_len)) in be_update_menu()
1638 (void) memset(temp_menu, 0, temp_menu_len); in be_update_menu()
1639 (void) strlcpy(temp_menu, menu_file, temp_menu_len); in be_update_menu()
1640 (void) strlcat(temp_menu, "XXXXXX", temp_menu_len); in be_update_menu()
1641 if ((tmp_fd = mkstemp(temp_menu)) == -1) { in be_update_menu()
1646 free(temp_menu); in be_update_menu()
1656 free(temp_menu); in be_update_menu()
1765 if (rename(temp_menu, menu_file) != 0) { in be_update_menu()
1769 temp_menu, menu_file, strerror(err)); in be_update_menu()
[all …]