X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=dss.c;h=16ce8260b18b18e7f5926100c1a788313eaa5688;hb=e5a213c283a82befda5aad1af69d68c8c1437be3;hp=e0b38a4d8bc2ed9f692878420424d8b680447c7c;hpb=e22eda4676173486ab4a50909b0a581a1d798503;p=dss.git diff --git a/dss.c b/dss.c index e0b38a4..16ce826 100644 --- a/dss.c +++ b/dss.c @@ -295,6 +295,7 @@ static int send_signal(int sig) dss_msg("%d\n", (int)pid); return 0; } + DSS_NOTICE_LOG(("sending signal %d to pid %d\n", sig, (int)pid)); ret = kill(pid, sig); if (ret < 0) return -ERRNO_TO_DSS_ERROR(errno); @@ -729,6 +730,7 @@ static int try_to_free_disk_space(void) if (!low_disk_space) goto out; DSS_WARNING_LOG(("disk space low and nothing obvious to remove\n")); + why = "oldest"; victim = find_oldest_removable_snapshot(&sl); if (victim) goto remove; @@ -1744,7 +1746,7 @@ static void show_subcommand_summary(void) for (i = 1; (cmd = lls_cmd(i, dss_suite)); i++) { const char *name = lls_command_name(cmd); const char *purpose = lls_purpose(cmd); - printf("%-10s%s\n", name, purpose); + printf("%-11s%s\n", name, purpose); } exit(EXIT_SUCCESS); }