Skip to content

Commit

Permalink
libmemtrack: Use correct format specifier
Browse files Browse the repository at this point in the history
Remove warnings by using the correct format specifier

Change-Id: I93a1f0a38355d4b501376ed7da2fed41893ac371
  • Loading branch information
Arun Kumar K.R authored and Simon Wilson committed Jan 9, 2015
1 parent 94059b1 commit 32be815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msm8226/libmemtrack/kgsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type,
* gpuaddr useraddr size id flags type usage sglen
* 545ba000 545ba000 4096 1 ----pY gpumem arraybuffer 1
*/
ret = sscanf(line, "%*x %*lx %lu %*d %6s %6s %*s %*d\n",
ret = sscanf(line, "%*x %*x %lu %*d %6s %6s %*s %*d\n",
&size, flags, line_type);
if (ret != 4) {
continue;
Expand Down

0 comments on commit 32be815

Please sign in to comment.