diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-07-23 19:52:44 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-07-23 19:52:44 +0000 |
commit | 936c86d3c42909a0d23c47ba7ed96eb5f5b40422 (patch) | |
tree | 7011386a33cbb25a6447ca18caa6018d88883dfa /print/hplip | |
parent | 2d4141bb1dcc390de059918bce9011cba2464088 (diff) |
Notes
Diffstat (limited to 'print/hplip')
-rw-r--r-- | print/hplip/files/patch-io_hpiod_system.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/hplip/files/patch-io_hpiod_system.cpp b/print/hplip/files/patch-io_hpiod_system.cpp new file mode 100644 index 000000000000..c8fd116dcd6c --- /dev/null +++ b/print/hplip/files/patch-io_hpiod_system.cpp @@ -0,0 +1,11 @@ +--- io/hpiod/system.cpp.orig Mon Jul 23 14:08:51 2007 ++++ io/hpiod/system.cpp Mon Jul 23 14:09:52 2007 +@@ -633,7 +633,7 @@ + list_for_each(p, &head.list) + { + psa = list_entry(p, SessionAttributes, list); +- lstLen += sprintf(lst+lstLen, "t[%d] d[%d] socket=%d\n", (int)psa->tid, psa->descriptor, psa->sockid); ++ lstLen += sprintf(lst+lstLen, "t[%d] d[%d] socket=%d\n", (unsigned long)psa->tid, psa->descriptor, psa->sockid); + } + + len = sprintf(sendBuf, "msg=PStateResult\nresult-code=%d\nlength=%d\ndata:\n%s", R_AOK, lstLen, lst); |