projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: fix printf("%s", NULL) in error path
[platform/upstream/libxkbcommon.git]
/
test
/
common.c
diff --git
a/test/common.c
b/test/common.c
index
c909707
..
c371272
100644
(file)
--- a/
test/common.c
+++ b/
test/common.c
@@
-169,7
+169,7
@@
test_get_path(const char *path_rel)
path = malloc(path_len);
if (!path) {
fprintf(stderr, "Failed to allocate path (%d chars) for %s\n",
- (int) path_len, path);
+ (int) path_len, path
_rel
);
return NULL;
}
snprintf(path, path_len,