git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
volutil-partitionname2-r-return-value-20080701
[openafs.git]
/
src
/
util
/
volparse.c
diff --git
a/src/util/volparse.c
b/src/util/volparse.c
index
bfa0110
..
1b69509
100644
(file)
--- a/
src/util/volparse.c
+++ b/
src/util/volparse.c
@@
-119,7
+119,7
@@
volutil_PartitionName2_r(afs_int32 part, char *tbuffer, size_t buflen)
if (strlcat(tbuffer, tempString, buflen) >= buflen) {
return -1;
}
- return tbuffer;
+ return 0;
}
#define BAD_VID "BAD VOLUME ID"