diff options
author | 2000-01-08 19:07:13 +0000 | |
---|---|---|
committer | 2000-01-08 19:07:13 +0000 | |
commit | a7dc080e077a1d507baa4b9f868fb69da32a7897 (patch) | |
tree | 520eb03cef62d169bad1468c24f2922d0f9f60aa | |
parent | remove never-visited function icmp6_ctloutput(). (diff) | |
download | wireguard-openbsd-a7dc080e077a1d507baa4b9f868fb69da32a7897.tar.xz wireguard-openbsd-a7dc080e077a1d507baa4b9f868fb69da32a7897.zip |
Silence gcc -Wall on alpha in enomem() printf via cast to u_long.
-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); } - |