summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2016-04-13 04:06:52 +0300
committerJames Morris <james.l.morris@oracle.com>2016-04-13 04:06:52 +0300
commit58976eef9dc0318ef87bb81a6303b69d941d04bc (patch)
treeda4ba5ee905e1da35d43e6226d8ea4b3c002adc2 /scripts
parent1c74a7f812b135d3df41d7c3671b647aed6467bf (diff)
parent952cca6a724c420a1efb6025e41862dfd2c1edc3 (diff)
downloadlinux-58976eef9dc0318ef87bb81a6303b69d941d04bc.tar.xz
Merge tag 'keys-fixes-20160412' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into for-linus
Diffstat (limited to 'scripts')
-rw-r--r--scripts/asn1_compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c
index e000f44e37b8..c1b7ef3e24c1 100644
--- a/scripts/asn1_compiler.c
+++ b/scripts/asn1_compiler.c
@@ -650,7 +650,7 @@ int main(int argc, char **argv)
}
hdr = fopen(headername, "w");
- if (!out) {
+ if (!hdr) {
perror(headername);
exit(1);
}