Merge branch 'va/mailinfo-doc-typofix'
[gitweb.git] / upload-pack.c
index dc802a07c2225463c2e4ee923b9cf144d57a00cc..f19444df7bc9c19da4d2f3bf831525f7a5d6034d 100644 (file)
@@ -174,8 +174,7 @@ static void create_pack_file(void)
 
                if (ret < 0) {
                        if (errno != EINTR) {
-                               error("poll failed, resuming: %s",
-                                     strerror(errno));
+                               error_errno("poll failed, resuming");
                                sleep(1);
                        }
                        continue;