Commit 3bb3cf16 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Renamed from checkspace to checkkomspace.

parent 26215e13
......@@ -22,7 +22,7 @@
* Please report bugs at http://bugzilla.lysator.liu.se/.
*/
/*
* checkspace.c - Check free space on db partition.
* checkkomspace.c - Check free space on db partition.
*/
......@@ -87,10 +87,10 @@ is_nonzero(double val)
static void
usage(const char *default_config)
{
printf("checkspace for %s version %s\n",
printf("checkkomspace for %s version %s\n",
kom_version_info.server_name,
kom_version_info.server_version);
puts("Usage: checkspace [options] [config_file]");
puts("Usage: checkkomspace [options] [config_file]");
puts("Available options:");
puts(" -h --help Output this message and exit.");
puts(" -d --debug Only intended for use by the test suite.");
......@@ -103,7 +103,7 @@ stat_text(struct stat *res)
{
if (stat(param.textfile_name, res) < 0)
{
fprintf(stderr, "checkspace: stat: ");
fprintf(stderr, "checkkomspace: stat: ");
perror(param.textfile_name);
exit(2);
}
......@@ -122,7 +122,7 @@ stat_backup_db(struct stat *res)
if (stat(param.backupfile_name, res) < 0)
{
save = errno;
fprintf(stderr, "checkspace: stat: ");
fprintf(stderr, "checkkomspace: stat: ");
errno = save;
perror(param.backupfile_name);
if (save == ENOENT)
......@@ -152,7 +152,7 @@ stat_db(struct stat *res)
goto again;
}
fprintf(stderr, "checkspace: stat: ");
fprintf(stderr, "checkkomspace: stat: ");
perror(param.datafile_name);
exit(2);
}
......@@ -177,7 +177,7 @@ stat_partition(struct fs_usage *res)
"description, and describe the system.\n");
exit(2);
}
fprintf(stderr, "checkspace: get_fs_uage: ");
fprintf(stderr, "checkkomspace: get_fs_uage: ");
perror(param.textfile_name);
exit(2);
}
......@@ -366,7 +366,7 @@ main (int argc,
do pre-mortem debugging of the process at this point. */
if (buglevel > 0)
{
kom_log("Press enter to terminate checkspace\n");
kom_log("Press enter to terminate checkkomspace\n");
getchar();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment