If x-1 is a factor of f(x)=x³-3x²+mx-4, what is the value of m?

a. 6

b. -6

c. 8

d. 10