X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnx-match.c;h=f887cdb5796670a7ef2062b20e1b34af53301165;hb=782e6111668f5f4bccec2dc9328dc3a83f548fce;hp=47cce83358dc94f39e10282d755446be8e93bcd2;hpb=36b4c892f6e2376f3b9dde840a9623570e97249c;p=openvswitch diff --git a/lib/nx-match.c b/lib/nx-match.c index 47cce833..f887cdb5 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Nicira Networks. + * Copyright (c) 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -982,7 +982,7 @@ nxm_format_reg_load(const struct nx_action_reg_load *load, struct ds *s) uint32_t dst = ntohl(load->dst); uint64_t value = ntohll(load->value); - ds_put_format(s, "load:%"PRIu64"->", value); + ds_put_format(s, "load:%#"PRIx64"->", value); nxm_format_field_bits(s, dst, ofs, n_bits); }