remove unused patch

This commit is contained in:
Zamir SUN 2017-05-23 22:33:58 +08:00
parent dfd620c20f
commit 994a06fb1b
3 changed files with 1 additions and 27 deletions

View File

@ -1,13 +0,0 @@
diff --git a/trace-record.c b/trace-record.c
index a8d32d3..ab64418 100644
--- a/trace-record.c
+++ b/trace-record.c
@@ -3803,7 +3803,7 @@ void trace_record (int argc, char **argv)
const char *output = NULL;
const char *option;
struct event_list *event = NULL;
- struct event_list *last_event;
+ struct event_list *last_event = NULL;
struct buffer_instance *instance = &top_instance;
enum trace_type type = 0;
char *pids;

View File

@ -1,13 +0,0 @@
diff --git a/trace-snapshot.c b/trace-snapshot.c
index 9d3608c..f1036f6 100644
--- a/trace-snapshot.c
+++ b/trace-snapshot.c
@@ -42,7 +42,7 @@ static void write_file(const char *name, char *val)
n = write(fd, val, strlen(val));
if (n < 0)
- die("failed to write '%d' to %s\n", path);
+ die("failed to write to %s\n", path);
tracecmd_put_tracing_file(path);
close(fd);
}

View File

@ -78,7 +78,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/kernelshark.desktop
%changelog
* Thu Mar 30 2017 Zamir SUN <zsun@fedoraproject.org> - 2.6.1-1
* Thu May 23 2017 Zamir SUN <zsun@fedoraproject.org> - 2.6.1-1
- Rebase to 2.6.1.
* Thu Mar 30 2017 Zamir SUN <zsun@fedoraproject.org> - 2.6-4.20170330git013205