Don't print disk dir in info

This commit is contained in:
Andrea Mazzoleni 2016-05-29 19:23:42 +02:00
parent dd87022490
commit b3cc9192cd
9 changed files with 48 additions and 28 deletions

View file

@ -1210,5 +1210,23 @@ static inline snapraid_info info_get(tommy_arrayblkof* array, block_off_t pos)
*/
int time_compare(const void* void_a, const void* void_b);
/**
* Format a file path for poll reference
*/
static inline const char* fmt_poll(const struct snapraid_disk* disk, const char* str, char* buffer)
{
(void)disk;
return esc_shell(str, buffer);
}
/**
* Format a path name for terminal reference
*/
static inline const char* fmt_term(const struct snapraid_disk* disk, const char* str, char* buffer)
{
(void)disk;
return esc_shell(str, buffer);
}
#endif