diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-14 06:20:07 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-14 06:20:07 -0700 |
commit | 42ba972afe9f527d91357b29a2049dfef14c4823 (patch) | |
tree | d914895d29085c3a7b7948212cbb51c0289cea48 /lib.c | |
parent | 07c6d46b1cc8300042832c9a01fe57cdfb130db3 (diff) | |
download | txr-42ba972afe9f527d91357b29a2049dfef14c4823.tar.gz txr-42ba972afe9f527d91357b29a2049dfef14c4823.tar.bz2 txr-42ba972afe9f527d91357b29a2049dfef14c4823.zip |
lib: sys_rplacd misnamed parameter.
* lib.c (sys_rplacd): Change parameter name from new_car to
new_cdr, for obvious reasons.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1373,10 +1373,10 @@ val sys_rplaca(val cons, val new_car) return new_car; } -val sys_rplacd(val cons, val new_car) +val sys_rplacd(val cons, val new_cdr) { - (void) rplacd(cons, new_car); - return new_car; + (void) rplacd(cons, new_cdr); + return new_cdr; } loc car_l(val cons) |