]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ddb/db_macro.c
xnu-792.tar.gz
[apple/xnu.git] / osfmk / ddb / db_macro.c
index 6ea64bc8380feebb33eb45a8f923fb3a255821ee..5365f9c6db81bd996049a1718efe44f07f2489e5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -201,12 +201,12 @@ db_arg_variable(
 
        if (flag == DB_VAR_SHOW) {
            value = db_macro_args[ap->hidden_level][ap->suffix[0]-1];
-           db_printf("%#lln", value);
+           db_printf("%#lln", (unsigned long long)value);
            db_find_xtrn_task_sym_and_offset(value, &name, &offset, TASK_NULL);
            if (name != (char *)0 && offset <= db_maxoff && offset != value) {
                db_printf("\t%s", name);
                if (offset != 0)
-                   db_printf("+%#r", offset);
+                   db_printf("+%#llr", (unsigned long long)offset);
            }
            return(0);
        }