]> sourceware.org Git - systemtap.git/commitdiff
Another PR11710 fix so that nd_syscall probes work on s390x systems.
authorDavid Smith <dsmith@redhat.com>
Thu, 24 Jun 2010 14:03:37 +0000 (09:03 -0500)
committerDavid Smith <dsmith@redhat.com>
Thu, 24 Jun 2010 14:03:37 +0000 (09:03 -0500)
* tapset/s390/registers.stp (_stp_get_register_by_offset): Added a cast.

tapset/s390/registers.stp

index b23f904e0b6103d533e79818f46c03d5cad41b69..3215afa3356f9815fd6b853c50a89a6bc1ab2b79 100644 (file)
@@ -62,7 +62,8 @@ function _stp_get_register_by_offset:long (offset:long) %{ /* pure */
        }
        if (THIS->offset < 0 || THIS->offset > sizeof(struct pt_regs) - sizeof(unsigned short)) {
                snprintf(CONTEXT->error_buffer, sizeof(CONTEXT->error_buffer),
-                               "Bad register offset: %lld", THIS->offset);
+                               "Bad register offset: %lld",
+                               (long long)THIS->offset);
                CONTEXT->last_error = CONTEXT->error_buffer;
                return;
        }
This page took 0.02733 seconds and 5 git commands to generate.