From 74e575f984d8e51c1dab250ef8fa33e53bedef67 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 27 Dec 2008 16:19:11 +0100 Subject: [PATCH] xbps-pkgdb: fix argv in sanitize-plist target. --HG-- extra : convert_revision : 6e475309733ddf37970ff0506b15714a6996b652 --- bin/xbps-pkgdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-pkgdb.c b/bin/xbps-pkgdb.c index 19b73897ee..4fe1c5508e 100644 --- a/bin/xbps-pkgdb.c +++ b/bin/xbps-pkgdb.c @@ -165,7 +165,7 @@ main(int argc, char **argv) } else if (strcasecmp(argv[0], "sanitize-plist") == 0) { /* Sanitize a plist file (indent the file properly) */ - if (argc != 1) + if (argc != 2) usage(); dbdict = prop_dictionary_internalize_from_file(argv[1]);