aboutsummaryrefslogtreecommitdiffstats
path: root/src/location-gnome-clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/location-gnome-clock.c')
-rw-r--r--src/location-gnome-clock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/location-gnome-clock.c b/src/location-gnome-clock.c
index 2bb1949..f68af2f 100644
--- a/src/location-gnome-clock.c
+++ b/src/location-gnome-clock.c
@@ -156,7 +156,9 @@ location_gnome_clock_init(location_gnome_clock_state_t *state)
char *lat_str = strstr(current_city, "latitude=\"");
char *lon_str = strstr(current_city, "longitude=\"");
if (lat_str == NULL || lon_str == NULL) {
- fputs(_("Location not specified for city.\n"), stderr);
+ fprintf(stderr,
+ _("Location not specified for city `%s'.\n"),
+ current_city);
g_free(current_city);
return -1;
}