diff options
Diffstat (limited to 'root-manager')
-rw-r--r-- | root-manager/root-manager-wrap.c | 6 | ||||
-rw-r--r-- | root-manager/root-manager.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/root-manager/root-manager-wrap.c b/root-manager/root-manager-wrap.c index acc5ffbbc..5bd750783 100644 --- a/root-manager/root-manager-wrap.c +++ b/root-manager/root-manager-wrap.c @@ -348,7 +348,7 @@ userhelper_parse_childout(char* outline) } } #ifdef DEBUG_USERHELPER - g_print("(%d) \"%s\"\n", prompt_type, prompt); + fprintf (stderr, "(%d) \"%s\"\n", prompt_type, prompt); #endif msg->type = prompt_type; @@ -383,7 +383,7 @@ userhelper_parse_childout(char* outline) resp->responses++; resp->rows++; #ifdef DEBUG_USERHELPER - g_print(_("Need %d responses.\n"), resp->responses); + fprintf (stderr, _("Need %d responses.\n"), resp->responses); #endif break; @@ -436,7 +436,7 @@ userhelper_parse_childout(char* outline) case UH_EXPECT_RESP: g_free(msg); /* useless */ if (resp->responses != atoi(prompt)) { - g_print(_("You want %d response(s) from %d entry fields!?!?!\n"), + fprintf (stderr, _("You want %d response(s) from %d entry fields!?!?!\n"), atoi(prompt), resp->responses); exit (1); } diff --git a/root-manager/root-manager.c b/root-manager/root-manager.c index 562910ea4..df6fc6177 100644 --- a/root-manager/root-manager.c +++ b/root-manager/root-manager.c @@ -442,13 +442,13 @@ int main(int argc, char *argv[]) } if (argc < 2) { - fprintf(stderr, _("Usage: root-helper fd")); + fprintf(stderr, _("Usage: root-helper fd\n")); exit(ERR_INVALID_CALL); } fd = atoi (argv[1]); if (fd <= STDERR_FILENO) { - fprintf (stderr, _("Usage: root-helper fd")); + fprintf (stderr, _("Usage: root-helper fd\n")); exit(ERR_INVALID_CALL); } |