projects
/
platform
/
upstream
/
smack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ec962
)
utils: common.c: invalid fprintf()
author
Jarkko Sakkinen
<jarkko.sakkinen@linux.intel.com>
Thu, 5 Dec 2013 17:26:01 +0000
(19:26 +0200)
committer
Jarkko Sakkinen
<jarkko.sakkinen@linux.intel.com>
Thu, 5 Dec 2013 17:26:01 +0000
(19:26 +0200)
fprintf() has path parameter that was not utilized.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
utils/common.c
patch
|
blob
|
history
diff --git
a/utils/common.c
b/utils/common.c
index
f04d540
..
1b6efdd
100644
(file)
--- a/
utils/common.c
+++ b/
utils/common.c
@@
-224,8
+224,7
@@
int apply_cipso_file(const char *path, int fd)
ret = smack_cipso_apply(cipso);
smack_cipso_free(cipso);
if (ret) {
- fprintf(stderr, "Applying CIPSO failed.\n",
- path);
+ fputs("Applying CIPSO failed.\n", stderr);
return -1;
}