Fix printing of patch numbers, doh :)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 22 May 2008 07:14:40 +0000 (10:14 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 22 May 2008 07:14:40 +0000 (10:14 +0300)
build/parsePrep.c

index 306fae8..d6e0a40 100644 (file)
@@ -116,7 +116,7 @@ static char *doPatch(rpmSpec spec, int c, int strip, const char *db,
     
     rasprintf(&buf, "echo \"Patch #%d (%s):\"\n"
                    "%s\n", 
-                   strip, basename(fn), patchcmd);
+                   c, basename(fn), patchcmd);
                
     free(fn);
     free(patchcmd);