artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9a678
)
better alloc idiom
author
tedu
<tedu@openbsd.org>
Tue, 6 May 2014 23:19:46 +0000
(23:19 +0000)
committer
tedu
<tedu@openbsd.org>
Tue, 6 May 2014 23:19:46 +0000
(23:19 +0000)
usr.bin/signify/signify.c
patch
|
blob
|
history
diff --git
a/usr.bin/signify/signify.c
b/usr.bin/signify/signify.c
index
506ed3b
..
e4a4159
100644
(file)
--- a/
usr.bin/signify/signify.c
+++ b/
usr.bin/signify/signify.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: signify.c,v 1.7
3 2014/05/06 23:17:13
tedu Exp $ */
+/* $OpenBSD: signify.c,v 1.7
4 2014/05/06 23:19:46
tedu Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
@@
-572,7
+572,7
@@
verifychecksums(char *msg, int argc, char **argv, int quiet)
uselist = 1;
count = nchecksums;
}
- if (!(failures = calloc(count, sizeof(
int
))))
+ if (!(failures = calloc(count, sizeof(
*failures
))))
err(1, "calloc");
for (i = 0; i < count; i++) {
if (uselist) {