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 (1)
[xfstests-dev.git]
/
dmapi
/
src
/
suite1
/
cmd
/
dm_handle.c
diff --git
a/dmapi/src/suite1/cmd/dm_handle.c
b/dmapi/src/suite1/cmd/dm_handle.c
index ba177d12cdb2b948c7cc2f7d75a6042dc82292cf..6ad9a92c3c457e1f10af39797f8cdb7a1ec2ffb9 100644
(file)
--- a/
dmapi/src/suite1/cmd/dm_handle.c
+++ b/
dmapi/src/suite1/cmd/dm_handle.c
@@
-80,7
+80,8
@@
main(
char fsbuffer3[100];
int fd;
- if (Progname = strrchr(argv[0], '/')) {
+ Progname = strrchr(argv[0], '/');
+ if (Progname) {
Progname++;
} else {
Progname = argv[0];