Home
last modified time | relevance | path

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

/dragonfly/sbin/hammer/
H A Dcmd_snapshot.c319 char *softlink_fmt; in hammer_cmd_snapshot() local
359 if (softlink_fmt == NULL) { in hammer_cmd_snapshot()
364 strcpy(softlink_fmt, softlink_dir); in hammer_cmd_snapshot()
365 if (softlink_fmt[strlen(softlink_fmt)-1] != '/') in hammer_cmd_snapshot()
366 strcat(softlink_fmt, "/"); in hammer_cmd_snapshot()
369 softlink_fmt = strdup(softlink_dir); in hammer_cmd_snapshot()
381 if (stat(softlink_fmt, &st) != 0 || in hammer_cmd_snapshot()
384 softlink_fmt); in hammer_cmd_snapshot()
389 softlink_fmt); in hammer_cmd_snapshot()
422 int sz = strlen(softlink_fmt) + 50; in hammer_cmd_snapshot()
[all …]