mdk-1.0 mixvm, command 'load'
Sami Farin <[email protected]> Wed, 10 Apr 2002 00:24:03 +0300
| Newsgroups | gmane.comp.gnu.mdk.bugs |
|---|---|
| Message-ID | <[email protected]> |
hi.
little bugfix.
shouldn't errno be saved? in case snprintf fails ;-D
--- mdk-1.0/mixlib/xmix_vm_handlers.c.bak 2002-02-07 02:10:50.000000000 +0200
+++ mdk-1.0/mixlib/xmix_vm_handlers.c 2002-04-10 00:08:09.000000000 +0300
@@ -211,7 +211,7 @@ cmd_load_ (mix_vm_cmd_dispatcher_t *dis,
mix_vm_get_symbol_table (dis->vm));
if (!mix_vm_load_file (dis->vm, arg) )
{
- log_error_ (dis, _("Cannot load %s: "));
+ log_error_ (dis, _("Cannot load %s: "), arg);
if ( errno == 0 )
log_error_ (dis, _("Wrong file format"));
else
--
Safari - [email protected] - PGP key 0x427E7914 - http://iki.fi/safari/
The UNIX Guru's View of Sex: "unzip ; strip ; touch ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep"