diff options
author | 2016-10-16 18:02:03 +0000 | |
---|---|---|
committer | 2016-10-16 18:02:03 +0000 | |
commit | cf534191e984ab79c632c420d6a1cfb4178d12e0 (patch) | |
tree | 8ec2b10b35aa3f3666e3932254903c770ea77061 | |
parent | Rewrite command queue handling. Each client still has a command queue, (diff) | |
download | wireguard-openbsd-cf534191e984ab79c632c420d6a1cfb4178d12e0.tar.xz wireguard-openbsd-cf534191e984ab79c632c420d6a1cfb4178d12e0.zip |
Add a == EOF that was accidentally lost in previous commit.
-rw-r--r-- | usr.sbin/config/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index ad3da1a6785..2f637e919b4 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.56 2016/10/16 17:50:00 tb Exp $ */ +/* $OpenBSD: main.c,v 1.57 2016/10/16 18:02:03 tb Exp $ */ /* $NetBSD: main.c,v 1.22 1997/02/02 21:12:33 thorpej Exp $ */ /* @@ -677,7 +677,8 @@ setupdirs(void) fp = fopen("Makefile", "w"); if (!fp) errx(2, "cannot create Makefile"); - if (fprintf(fp, ".include \"../Makefile.inc\"\n") < 0 || fclose(fp)) + if (fprintf(fp, ".include \"../Makefile.inc\"\n") < 0 || + fclose(fp) == EOF) errx(2, "cannot write Makefile"); reconfig: |