diff --git a/git-auth.c b/git-auth.c
index 4384a20..6d43175 100644
--- a/git-auth.c
+++ b/git-auth.c
@@ -122,6 +122,7 @@ static void log_rule (const char *op, s_rule *rule)
msg[m++] = ' ';
m += strlcpy(msg + m, rule->path, sizeof(msg) - m);
syslog(LOG_INFO, "%s %s", op, msg);
+ return;
overflow:
fprintf(stderr, "git-auth: log_rule: buffer overflow !\n");
}