summaryrefslogtreecommitdiff
path: root/usr.bin/make/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/error.c')
-rw-r--r--usr.bin/make/error.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/make/error.c b/usr.bin/make/error.c
index 4df20418740..5045eaa2837 100644
--- a/usr.bin/make/error.c
+++ b/usr.bin/make/error.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: error.c,v 1.1 1999/12/09 18:20:06 espie Exp $ */
+/* $OpenBSD: error.c,v 1.2 2000/01/08 19:07:13 millert Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -118,7 +118,7 @@ enomem(size)
{
int myerr = errno;
- fprintf(stderr, "make: %s (%d)\n", strerror(myerr), size);
+ fprintf(stderr, "make: %s (%lu)\n", strerror(myerr), (u_long)size);
exit(2);
}
@@ -141,4 +141,3 @@ eunlink(file)
}
return unlink(file);
}
-