2015-03-04 17:04 GMT+01:00 Ari Sundholm <[email protected]>: >> bb_perror_msg_and_die()? >> > > Would we not get an unrelated error string appended? > > By changing the above to bb_perror_msg_and_die("no files specified"): > > $ ./busybox truncate -c -s 1M > truncate: no files specified: No such file or directory > > ... which is a bit weird. > > Maybe bb_error_msg() followed by xfunc_die()?
Sorry for the typo - it was supposed to be bb_error_msg_and_die(). Best regards, Bartosz Golaszewski _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
