Repository navigation
Commit 4dee96f
target: Remove unneeded param pr_aptpl_buf_len to write_aptpl_to_file()
As mentioned in the comments in update_and_write_aptpl,
write_aptpl_to_file() calls strlen() on the buffer, and the length was
always being passed as zero.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>1 parent 4e529be commit 4dee96f
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1932 | 1932 | | |
1933 | 1933 | | |
1934 | 1934 | | |
1935 | | - | |
1936 | | - | |
| 1935 | + | |
1937 | 1936 | | |
1938 | 1937 | | |
1939 | 1938 | | |
1940 | 1939 | | |
1941 | 1940 | | |
| 1941 | + | |
1942 | 1942 | | |
1943 | 1943 | | |
1944 | 1944 | | |
| |||
1957 | 1957 | | |
1958 | 1958 | | |
1959 | 1959 | | |
1960 | | - | |
1961 | | - | |
| 1960 | + | |
1962 | 1961 | | |
1963 | 1962 | | |
1964 | 1963 | | |
| |||
1993 | 1992 | | |
1994 | 1993 | | |
1995 | 1994 | | |
1996 | | - | |
| 1995 | + | |
1997 | 1996 | | |
1998 | 1997 | | |
1999 | 1998 | | |
| |||
0 commit comments