X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=attribute.c;h=5ee0789d0bca2c8b39852e187ecb54d7fd5f31a2;hp=66312b2acb06f5a5919c5a04198db2cae2f0b34a;hb=a8509af9116e9a045ace70ff312e40569c5ace16;hpb=d67659cc56f7ebc6b05738d8e15ecb0de86528b1 diff --git a/attribute.c b/attribute.c index 66312b2a..5ee0789d 100644 --- 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); } @@ -373,7 +373,7 @@ int com_rmatt(__a_unused int fd, int argc, char * const * const argv) * \param buf Result. * * This function prints a string of at most 64 characters plus the terminating - * \p NULL character into \buf which must be provided by the caller and at + * \p NULL character into \a buf which must be provided by the caller and at * least 65 bytes long. The "x" character is used for set attributes and "-" is * used for unset attributes. *