diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-01-08 19:07:14 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-01-08 19:07:14 +0000 |
commit | 37c25b9da2367267a94a233739ce3efcafdc0c0e (patch) | |
tree | f792199654ffa3e9c7ff4062c607cf19346911c0 /usr.bin/make/error.c | |
parent | 567d5d40c1659614dc9fa9b80d73401b0bb175a3 (diff) |
Silence gcc -Wall on alpha in enomem() printf via cast to u_long.
Diffstat (limited to 'usr.bin/make/error.c')
-rw-r--r-- | usr.bin/make/error.c | 5 |
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); } - |