artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e84bd9
)
Nuke unused variable.
author
krw
<krw@openbsd.org>
Mon, 19 Oct 2015 19:05:24 +0000
(19:05 +0000)
committer
krw
<krw@openbsd.org>
Mon, 19 Oct 2015 19:05:24 +0000
(19:05 +0000)
usr.sbin/installboot/util.c
patch
|
blob
|
history
diff --git
a/usr.sbin/installboot/util.c
b/usr.sbin/installboot/util.c
index
3b5843c
..
a31eeac
100644
(file)
--- a/
usr.sbin/installboot/util.c
+++ b/
usr.sbin/installboot/util.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: util.c,v 1.
9 2015/10/14 00:19:05 krw Exp $
*/
+/* $OpenBSD: util.c,v 1.
10 2015/10/19 19:05:24 krw Exp $
*/
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@
-37,7
+37,7
@@
filecopy(const char *srcfile, const char *dstfile)
{
struct stat sb;
ssize_t sz, n;
- int sfd, dfd
, rslt = -1
;
+ int sfd, dfd;
char *buf;
if ((buf = malloc(BUFSIZE)) == NULL) {