mirror of
https://github.com/moibenko/mtx.git
synced 2025-12-23 05:55:13 +00:00
One more attempt to fix SN
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Name: mtx
|
||||
Version: 1.3.12
|
||||
Release: 20fnal_jinr%{?dist}
|
||||
Release: 21fnal_jinr%{?dist}
|
||||
Summary: SCSI media changer control program
|
||||
License: GPLv2
|
||||
Group: Applications/System
|
||||
|
||||
@@ -619,11 +619,9 @@ void copy_physical_location(unsigned char *src, unsigned char *dest)
|
||||
void copy_char_buffer(unsigned char *src, unsigned char *dest, int num)
|
||||
{
|
||||
int i;
|
||||
char *dest_tmp;
|
||||
unsigned char *dest_tmp;
|
||||
dest_tmp = dest;
|
||||
while ((*src<= 32) || (*src > 127)) {
|
||||
src++;
|
||||
}
|
||||
|
||||
for (i=0; i <= num; i++)
|
||||
{
|
||||
*dest_tmp++ = 0;
|
||||
|
||||
Reference in New Issue
Block a user