/*
* Copyright (c) 2005, Junio C Hamano
*/
-#include <signal.h>
#include "cache.h"
static struct lock_file *lock_file_list;
{
int fd = lock_file(lk, path);
if (fd < 0 && die_on_error)
- die("unable to create '%s': %s", path, strerror(errno));
+ die("unable to create '%s.lock': %s", path, strerror(errno));
return fd;
}