projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfstests: eliminate warnings under dmapi/src/suite1/cmd (3)
[xfstests-dev.git]
/
dmapi
/
src
/
suite1
/
cmd
/
request_right.c
diff --git
a/dmapi/src/suite1/cmd/request_right.c
b/dmapi/src/suite1/cmd/request_right.c
index 11ff944d4a0e58d8c3cbf57936a9f3ebca134dfa..fff3e78b68e019d8980e00f3319ec72ee79de0b5 100644
(file)
--- a/
dmapi/src/suite1/cmd/request_right.c
+++ b/
dmapi/src/suite1/cmd/request_right.c
@@
-91,7
+91,8
@@
main(
char *name;
int opt;
- if (Progname = strrchr(argv[0], '/')) {
+ Progname = strrchr(argv[0], '/');
+ if (Progname) {
Progname++;
} else {
Progname = argv[0];