projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57dd6cd
)
Fix off-by-one in com_rmatt().
author
Andre Noll
<maan@systemlinux.org>
Sat, 22 Sep 2007 08:18:33 +0000
(10:18 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 22 Sep 2007 08:18:33 +0000
(10:18 +0200)
attribute.c
patch
|
blob
|
history
diff --git
a/attribute.c
b/attribute.c
index 9a7cb45ae88a411f31fa58a3128687fc4e11ea9f..5ee0789d0bca2c8b39852e187ecb54d7fd5f31a2 100644
(file)
--- a/
attribute.c
+++ b/
attribute.c
@@
-362,7
+362,7
@@
int com_rmatt(__a_unused int fd, int argc, char * const * const argv)
{
if (argc < 2)
return -E_ATTR_SYNTAX;
- return send_standard_callback_request(argc
, argv
, com_rmatt_callback,
+ return send_standard_callback_request(argc
- 1, argv + 1
, com_rmatt_callback,
NULL);
}