aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/android/getprop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/android/getprop.c b/toys/android/getprop.c
index eede9373..04a9b282 100644
--- a/toys/android/getprop.c
+++ b/toys/android/getprop.c
@@ -39,7 +39,8 @@ static char *get_property_context(const char *property)
return context;
}
-static void read_callback(void *unused, const char *name, const char *value)
+static void read_callback(void *unused, const char *name, const char *value,
+ unsigned serial)
{
if (!(TT.size&31)) TT.nv = xrealloc(TT.nv, (TT.size+32)*2*sizeof(char *));