ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp
(Generate patch)

Comparing BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp (file contents):
Revision 1.3 by cebix, 1999-10-21T22:39:57Z vs.
Revision 1.4 by cebix, 1999-10-25T19:01:32Z

# Line 1071 | Line 1071 | static void read_scsi_settings(void)
1071  
1072                  if (strlen(scsi_dev[i])) {
1073                          char str[256];
1074 <                        sprintf("%s/%ld", scsi_dev[i], scsi_unit[i]);
1074 >                        sprintf(str, "%s/%ld", scsi_dev[i], scsi_unit[i]);
1075                          PrefsReplaceString(prefs_name, str);
1076                  } else
1077                          PrefsRemoveItem(prefs_name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines