Prev: [PATCH 4/5] KVM: SVM: Add correct handling of nested iopm
Next: trace-record: wrong refferencing
From: Jiri Olsa on 25 Feb 2010 12:50 hi, looks like bug this time :) wbr, jirka Signed-off-by: Jiri Olsa <jolsa(a)redhat.com> diff --git a/trace-record.c b/trace-record.c index cdfc857..2a754b9 100644 --- a/trace-record.c +++ b/trace-record.c @@ -116,7 +116,7 @@ struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu) int fd; fd = open(file, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, 0644); - if (recorder->fd < 0) + if (fd < 0) return NULL; recorder = tracecmd_create_recorder_fd(fd, cpu); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH 4/5] KVM: SVM: Add correct handling of nested iopm Next: trace-record: wrong refferencing |