The variability of the WC9 Wolf-Rayet star HD 164270