fetch-pack: eliminate spurious error messages
[gitweb.git] / vcs-svn / svndump.c
index a7f3ea64a56d885850212489016359967bcdd8f0..2b168aee75ddc299f22c738b26f07e12c285f9ae 100644 (file)
@@ -174,7 +174,7 @@ static void read_props(void)
                int ch;
 
                if (!type || t[1] != ' ')
-                       die("invalid property line: %s\n", t);
+                       die("invalid property line: %s", t);
                len = atoi(&t[2]);
                strbuf_reset(&val);
                buffer_read_binary(&input, &val, len);
@@ -200,7 +200,7 @@ static void read_props(void)
                        strbuf_reset(&key);
                        continue;
                default:
-                       die("invalid property line: %s\n", t);
+                       die("invalid property line: %s", t);
                }
        }
 }