[Pvfs2-cvs] commit by bligon in pvfs2/src/apps/admin: pvfs2-xattr.c
CVS commit program
cvs at parl.clemson.edu
Thu Jun 25 12:56:01 EDT 2009
Update of /projects/cvsroot/pvfs2/src/apps/admin
In directory parlweb1:/tmp/cvs-serv7317/src/apps/admin
Modified Files:
Tag: Orange-Branch
pvfs2-xattr.c
Log Message:
Merged ORANGE-BECKY-BRANCH - Last of mirror changes.
Index: pvfs2-xattr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/admin/pvfs2-xattr.c,v
diff -p -u -r1.7.10.1 -r1.7.10.2
--- pvfs2-xattr.c 30 Apr 2009 15:02:59 -0000 1.7.10.1
+++ pvfs2-xattr.c 25 Jun 2009 16:56:01 -0000 1.7.10.2
@@ -235,7 +235,7 @@ int main(int argc, char **argv)
}
}/*end switch*/
} else {
- printf("key:%s Value:%s\n",
+ printf("key : \"%s\" \tValue : \"%s\"\n",
(char *)user_opts->key[0].buffer,
(char *)user_opts->val[0].buffer);
}
@@ -470,7 +470,7 @@ static struct options* parse_args(int ar
break;
} else {
tmp_opts->val[0].buffer = strdup(optarg);
- tmp_opts->val[0].buffer_sz = strlen(tmp_opts->val[0].buffer) + 1;
+ tmp_opts->val[0].buffer_sz = strlen(tmp_opts->val[0].buffer);
break;
}
case('?'):
More information about the Pvfs2-cvs
mailing list