diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:38:39 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:38:39 -1000 |
commit | ab753fcde40b28248172c552ce2b1f23eddfc9f4 (patch) | |
tree | 2ff2724ef77294878f91b528843a0f0b6dba5462 /data/system-cmds/dmesg.diff | |
parent | 295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (diff) |
Update more packages
Diffstat (limited to 'data/system-cmds/dmesg.diff')
-rw-r--r-- | data/system-cmds/dmesg.diff | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/data/system-cmds/dmesg.diff b/data/system-cmds/dmesg.diff deleted file mode 100644 index fb15d0de1..000000000 --- a/data/system-cmds/dmesg.diff +++ /dev/null @@ -1,27 +0,0 @@ -diff -ru system_cmds-431/dmesg.tproj/dmesg.c system_cmds-431+iPhone/dmesg.tproj/dmesg.c ---- system_cmds-431/dmesg.tproj/dmesg.c 2006-05-05 04:12:18.000000000 +0000 -+++ system_cmds-431+iPhone/dmesg.tproj/dmesg.c 2008-03-24 00:58:43.000000000 +0000 -@@ -57,7 +57,6 @@ - #include <stdio.h> - #include <stdlib.h> - #include <vis.h> --#include <libproc.h> - - void - usage() { -@@ -67,13 +66,13 @@ - - int - main(int argc, char **argv) { -- char msgbuf[16*1024], *visbuf; -+ char msgbuf[64*4*1024], *visbuf; - long data_size; - - if (argc > 1) - usage(); - -- if ((data_size = proc_kmsgbuf(msgbuf, sizeof(msgbuf))) == 0){ -+ if ((data_size = syscall(336, 4, 0, 0, (uint64_t) 0, msgbuf, sizeof(msgbuf))) == -1){ - perror("Unable to obtain kernel buffer"); - usage(); - } |