cryptfs: Fix format string

Test: None
Change-Id: Id16acb4ed5e89e759b69ec2d2f2db54cc54f1959
diff --git a/cryptfs.cpp b/cryptfs.cpp
index 4e163bc..8ffe1a7 100644
--- a/cryptfs.cpp
+++ b/cryptfs.cpp
@@ -2685,7 +2685,7 @@
     }
 
     for (field_id = 1; field_id < num_entries; field_id++) {
-        snprintf(temp_field, sizeof(temp_field), "%s_%d", fieldname, field_id);
+        snprintf(temp_field, sizeof(temp_field), "%s_%u", fieldname, field_id);
 
         if (persist_set_key(temp_field, value + field_id * (PROPERTY_VALUE_MAX - 1), encrypted)) {
             // fail to set key, should not happen as we have already checked the available space.