summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-10-02 16:29:24 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-10-02 16:29:24 +0000
commita6c7bd03ddde4460e21327688f23d04a8923da40 (patch)
treeb74493f3f1604571342b023a9522201199f5c9b4
parent0ca51a00c7b36d4cf7d32e9a22cc48949bc990f2 (diff)
downloadcanutils-a6c7bd03ddde4460e21327688f23d04a8923da40.tar.gz
fix doc
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-2.0-trunk@78 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r--src/canconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/canconfig.c b/src/canconfig.c
index 5a783b0..3b382ac 100644
--- a/src/canconfig.c
+++ b/src/canconfig.c
@@ -58,8 +58,8 @@ static void help(void)
"canconfig <dev> mode MODE\n\t\t"
"MODE := { start }\n\t"
"canconfig <dev> tweak [ VALs ]\n\t\t"
- "VALs := <TBR SYS PPS PHS1 PHS2 SJW>\n\t\t"
- " TBR bit rate to be tweaked in kHz\n\t\t"
+ "VALs := <TBR BRP PPS PHS1 PHS2 SJW>\n\t\t"
+ " TBR bit rate to be tweaked in Hz\n\t\t"
" BRP bit rate prescaler\n\t\t"
" PPS Prop_Seg in tq\n\t\t"
" PHS1 Phase_Seg1 in tq\n\t\t"
@@ -154,7 +154,7 @@ static void tweak_a_bitrate(uint32_t bit_rate, uint32_t brp,
if (sizeof(struct can_bit_time_custom) > sizeof(ifr.ifr_ifru)) {
printf("Error can_bit_time_custom to large! (%d, %d)",
- sizeof (struct can_bit_time_custom), sizeof(ifr.ifr_ifru));
+ sizeof(struct can_bit_time_custom), sizeof(ifr.ifr_ifru));
exit(EXIT_FAILURE);
}