]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - attribute.c
error.h: Cosmetics.
[paraslash.git] / attribute.c
index 4acfd515b1160bbbd642893b97e94b1c600c90ac..cc810467d825acf860346afeaac035aaf496f665 100644 (file)
@@ -273,7 +273,7 @@ static int com_setatt_callback(const struct osl_object *query,
 
 int com_setatt(__a_unused int fd, int argc, char * const * const argv)
 {
-       if (argc < 2)
+       if (argc < 3)
                return -E_ATTR_SYNTAX;
        return send_standard_callback_request(argc - 1, argv + 1, com_setatt_callback,
                NULL);