printf( "\t\tpath=%d, owner=%d, group=%d\n",
        arg0, arg1, arg2 );

I expect the first argument (arg0) to chown to be the name of the file.
However, I get an integer instead.

You're printing it with %d; that's not going to show you anything like a string.

Try %s, and try copyinstr(arg0) as the argument.
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to