1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-24 17:57:48 +03:00

Sync tidy.

This commit is contained in:
Alasdair Kergon 2002-01-07 22:49:04 +00:00
parent 12e8972ba1
commit 372a431135
3 changed files with 5 additions and 6 deletions

View File

@ -22,9 +22,9 @@
#define _LVM_ERRORS_H
#define EINVALID_CMD_LINE 1
#define ENO_SUCH_CMD 3
#define ECMD_PROCESSED 4
#define ENO_SUCH_CMD 3
#define ECMD_PROCESSED 4
#define ECMD_FAILED 5
#endif /* #ifndef _LVM_ERROR_H_INCLUDE */
#endif

View File

@ -510,7 +510,8 @@ static int process_common_commands(struct command *com)
kill(getpid(), SIGSTOP);
if (arg_count(debug_ARG))
_current_settings.debug = arg_count(debug_ARG);
_current_settings.debug = LOG_FATAL +
(arg_count(debug_ARG) - 1);
if (arg_count(verbose_ARG))
_current_settings.verbose = arg_count(verbose_ARG);

View File

@ -112,8 +112,6 @@ int vgmerge_single(const char *vg_name_to, const char *vg_name_from)
/* FIXME List arg: vg_show_with_pv_and_lv(vg_to); */
/* FIXME Test arg (into all tools) */
/* Merge volume groups */
while (!list_empty(&vg_from->pvs)) {
struct list *pvh = vg_from->pvs.n;