summaryrefslogtreecommitdiff
path: root/libcap/cap_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcap/cap_text.c')
-rw-r--r--libcap/cap_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/cap_text.c b/libcap/cap_text.c
index b0fad9d..87e0838 100644
--- a/libcap/cap_text.c
+++ b/libcap/cap_text.c
@@ -315,7 +315,7 @@ char *cap_to_name(cap_value_t cap)
#endif
char *tmp, *result;
- asprintf(&tmp, "%u", cap);
+ (void) asprintf(&tmp, "%u", cap);
result = _libcap_strdup(tmp);
free(tmp);