From: Mikko Rasa Date: Sat, 6 Oct 2012 11:19:32 +0000 (+0300) Subject: Change the verbosity levels of some messages X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=890ae36a86ec7297a8e2ec4ac85ea44482b3938c;p=pmount-gui.git Change the verbosity levels of some messages --- diff --git a/main.c b/main.c index 6be8352..f62b7b0 100644 --- a/main.c +++ b/main.c @@ -356,7 +356,7 @@ char **get_device_nodes(char *dirname) } if(duplicate) { - if(verbosity>=1) + if(verbosity>=2) printf("Device %s is a duplicate\n", fnbuf); continue; } @@ -513,7 +513,7 @@ void row_activated(GtkTreeView *list, GtkTreePath *path, GtkTreeViewColumn *colu pid = fork(); if(pid==0) { - if(verbosity>=2) + if(verbosity>=1) { if(umount) printf("Running pumount %s\n", device->node);