[libgit2-glib] Add forgotten argument to printf call



commit 77907eaf57521d105e525aefd852e137a697e146
Author: Garrett Regier <garrettregier gmail com>
Date:   Fri Jun 8 01:01:05 2012 -0700

    Add forgotten argument to printf call

 examples/walk.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/examples/walk.c b/examples/walk.c
index 84b1c25..499a948 100644
--- a/examples/walk.c
+++ b/examples/walk.c
@@ -74,7 +74,8 @@ main (int   argc,
 
 	if (argc < 2 || argc > 3)
 	{
-		g_print ("Usage: %s path_to_git_repository [N_REVISIONS]\n");
+		g_print ("Usage: %s path_to_git_repository [N_REVISIONS]\n",
+		         argv[0]);
 		return 1;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]