summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm_command.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2002-04-09 23:28:19 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2002-04-09 23:28:19 +0000
commitfe26b7c09f86650d19b4be388c155af081388a67 (patch)
tree64cc907a55db92938bb7f3b555ca5cfdb7a93516 /mixlib/mix_vm_command.c
parent6923e0f864b77944bc2d5d30c21d3fb89765b8a2 (diff)
downloadmdk-fe26b7c09f86650d19b4be388c155af081388a67.tar.gz
mdk-fe26b7c09f86650d19b4be388c155af081388a67.tar.bz2
portability fix: snprintf -> g_snprintf
Diffstat (limited to 'mixlib/mix_vm_command.c')
-rw-r--r--mixlib/mix_vm_command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c
index 77005e5..81e0bb6 100644
--- a/mixlib/mix_vm_command.c
+++ b/mixlib/mix_vm_command.c
@@ -1,9 +1,9 @@
/* -*-c-*- -------------- mix_vm_command.c :
* Implementation of the functions declared in mix_vm_command.h
* ------------------------------------------------------------------
- * $Id: mix_vm_command.c,v 1.26 2001/09/16 22:32:12 jao Exp $
+ * $Id: mix_vm_command.c,v 1.27 2002/04/09 23:28:19 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -631,7 +631,7 @@ mix_vm_cmd_dispatcher_get_src_file_line (const mix_vm_cmd_dispatcher_t *dis,
enum {BUFF_SIZE = 256};
static gchar BUFFER[BUFF_SIZE];
int len =
- snprintf (BUFFER, BUFF_SIZE, "%s", mix_src_file_get_line (file, line));
+ g_snprintf (BUFFER, BUFF_SIZE, "%s", mix_src_file_get_line (file, line));
if (len > 0 && BUFFER[len - 1] == '\n') BUFFER[len - 1] = '\0';
return BUFFER;
}